aboutsummaryrefslogtreecommitdiff
path: root/etc
diff options
context:
space:
mode:
authorAlexander Kabui2021-05-10 08:46:44 +0300
committerGitHub2021-05-10 08:46:44 +0300
commitf7eeb913af479358583844164400dc8489a87d8f (patch)
tree5deb035007120eff4d691c270c2ec2937622b852 /etc
parent0b723720f7b1b9802b2f5453b747c7e48b693817 (diff)
parent1afece5464520700901cbde19599ac45222ea58f (diff)
downloadgenenetwork2-f7eeb913af479358583844164400dc8489a87d8f.tar.gz
Merge branch 'testing' into feature/integrate-correlation-api
Diffstat (limited to 'etc')
-rw-r--r--etc/default_settings.py21
1 files changed, 11 insertions, 10 deletions
diff --git a/etc/default_settings.py b/etc/default_settings.py
index 27522187..a194b10e 100644
--- a/etc/default_settings.py
+++ b/etc/default_settings.py
@@ -73,23 +73,24 @@ SMTP_PASSWORD = "UNKNOWN"
# ---- Behavioural settings (defaults) note that logger and log levels can
# be overridden at the module level and with enviroment settings
-WEBSERVER_MODE = 'DEV' # Python webserver mode (DEBUG|DEV|PROD)
+WEBSERVER_MODE = 'DEV' # Python webserver mode (DEBUG|DEV|PROD)
WEBSERVER_BRANDING = None # Set the branding (nyi)
WEBSERVER_DEPLOY = None # Deployment specifics (nyi)
-WEBSERVER_URL = "http://localhost:"+str(SERVER_PORT)+"/" # external URL
+WEBSERVER_URL = "http://localhost:" + str(SERVER_PORT) + "/" # external URL
-LOG_LEVEL = 'WARNING' # Logger mode (DEBUG|INFO|WARNING|ERROR|CRITICAL)
+LOG_LEVEL = 'WARNING' # Logger mode (DEBUG|INFO|WARNING|ERROR|CRITICAL)
LOG_LEVEL_DEBUG = '0' # logger.debugf log level (0-5, 5 = show all)
-LOG_SQL = 'False' # Log SQL/backend and GN_SERVER calls
+LOG_SQL = 'False' # Log SQL/backend and GN_SERVER calls
LOG_SQL_ALCHEMY = 'False'
-LOG_BENCH = True # Log bench marks
+LOG_BENCH = True # Log bench marks
-USE_REDIS = True # REDIS caching (note that redis will be phased out)
-USE_GN_SERVER = 'False' # Use GN_SERVER SQL calls
-HOME = os.environ['HOME']
+USE_REDIS = True # REDIS caching (note that redis will be phased out)
+USE_GN_SERVER = 'False' # Use GN_SERVER SQL calls
+HOME = os.environ['HOME']
# ---- Default locations
-GENENETWORK_FILES = HOME+"/genotype_files" # base dir for all static data files
+# base dir for all static data files
+GENENETWORK_FILES = HOME + "/genotype_files"
# ---- Path overrides for Genenetwork - the defaults are normally
# picked up from Guix or in the HOME directory
@@ -98,7 +99,7 @@ GENENETWORK_FILES = HOME+"/genotype_files" # base dir for all static data fil
# PRIVATE_FILES = HOME+"/gn2_private_data" # private static data files (unused)
# ---- Local path to JS libraries - for development modules (only)
-JS_GN_PATH = os.environ['HOME']+"/genenetwork/javascript"
+JS_GN_PATH = os.environ['HOME'] + "/genenetwork/javascript"
# ---- GN2 Executables (overwrite for testing only)
# PLINK_COMMAND = str.strip(os.popen("which plink2").read())