about summary refs log tree commit diff
path: root/etc
diff options
context:
space:
mode:
Diffstat (limited to 'etc')
-rw-r--r--etc/default_settings.py13
1 files changed, 8 insertions, 5 deletions
diff --git a/etc/default_settings.py b/etc/default_settings.py
index df734f7c..9dddd0ad 100644
--- a/etc/default_settings.py
+++ b/etc/default_settings.py
@@ -22,7 +22,7 @@ SQLALCHEMY_DATABASE_URI = 'mysql://gn2:mysql_password@localhost/db_webqtl_s'
 SQLALCHEMY_POOL_RECYCLE = 3600
 GN_SERVER_URL = "http://localhost:8880/"
 
-# Flask configuration (see website)
+# ---- Flask configuration (see website)
 TRAP_BAD_REQUEST_ERRORS = True
 SECURITY_CONFIRMABLE = True
 SECURITY_TRACKABLE = True
@@ -34,8 +34,8 @@ SECURITY_POST_LOGIN_VIEW = "/thank_you"
 SERVER_PORT = 5003
 SECRET_HMAC_CODE = '\x08\xdf\xfa\x93N\x80\xd9\\H@\\\x9f`\x98d^\xb4a;\xc6OM\x946a\xbc\xfc\x80:*\xebc'
 
-# Behavioural settings (defaults) note that logger and log levels can
-# be overridden at the module level and with enviroment settings
+# ---- 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_BRANDING = None   # Set the branding (nyi)
 WEBSERVER_DEPLOY = None     # Deployment specifics (nyi)
@@ -49,10 +49,13 @@ 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
 
-# Path overrides for Genenetwork
+# ---- Path overrides for Genenetwork
+# TMPDIR is normally picked up from the environment
 HOME=os.environ['HOME']
 LOGFILE = HOME+"/genenetwork2.log"
-GENENETWORK_FILES = HOME+"/gn2_data"
+GENENETWORK_FILES = HOME+"/gn2_data"  # base dir for all static data files
+
+# ---- GN2 Executables
 PYLMM_COMMAND = str.strip(os.popen("which pylmm_redis").read())
 PLINK_COMMAND = str.strip(os.popen("which plink2").read())
 GEMMA_COMMAND = str.strip(os.popen("which gemma").read())