aboutsummaryrefslogtreecommitdiff
path: root/etc
diff options
context:
space:
mode:
authorPjotr Prins2016-04-20 08:28:44 +0000
committerPjotr Prins2016-04-20 08:28:44 +0000
commitbeb6a9360ecc9edca19692e4081efc15292fb7d1 (patch)
treec736745b7bfac9eec844bbdbc582e44960e3d487 /etc
parent73ef712f3fd02df7ffa84a2b35ee5648f689d31b (diff)
downloadgenenetwork2-beb6a9360ecc9edca19692e4081efc15292fb7d1.tar.gz
[PATCH 018/100] Find external tools: refactored code to work with GNU Guix
Diffstat (limited to 'etc')
-rw-r--r--etc/default_settings.py8
1 files changed, 6 insertions, 2 deletions
diff --git a/etc/default_settings.py b/etc/default_settings.py
index 0c7d7bad..929bd687 100644
--- a/etc/default_settings.py
+++ b/etc/default_settings.py
@@ -1,3 +1,5 @@
+import os
+
LOGFILE = "/var/log/genenetwork/wqflask.log"
# This is needed because Flask turns key errors into a
@@ -20,5 +22,7 @@ SERVER_PORT = 5003
SECRET_HMAC_CODE = '\x08\xdf\xfa\x93N\x80\xd9\\H@\\\x9f`\x98d^\xb4a;\xc6OM\x946a\xbc\xfc\x80:*\xebc'
# Path overrides for Genenetwork
-# PYLMM_PATH = 'UNUSED'
-
+HOME=os.environ.get('HOME')
+PYLMM_PATH = HOME+"/izip/git/opensource/python/pylmm_gn2/"
+PLINK_PATH = HOME+"/.guix-profile/bin"
+GEMMA_PATH = HOME+"/.guix-profile/bin"