aboutsummaryrefslogtreecommitdiff
path: root/wqflask/utility/tools.py
diff options
context:
space:
mode:
authorzsloan2017-09-05 11:48:12 -0500
committerGitHub2017-09-05 11:48:12 -0500
commit90aab8b2f41f3a017d70e069c8812110ce3d30fb (patch)
treed5c93b428255c049fe4a8474143d1b8494f4c8e7 /wqflask/utility/tools.py
parentd86f07f616d6892707dd26c87bf70db1a50f070a (diff)
parent4f06516befcb16b802afcb81bae28b55279a3c1e (diff)
downloadgenenetwork2-90aab8b2f41f3a017d70e069c8812110ce3d30fb.tar.gz
Merge pull request #259 from pjotrp/testing
gemma-wrapper: find binary in profile
Diffstat (limited to 'wqflask/utility/tools.py')
-rw-r--r--wqflask/utility/tools.py12
1 files changed, 8 insertions, 4 deletions
diff --git a/wqflask/utility/tools.py b/wqflask/utility/tools.py
index 867bc5c8..c5685cdd 100644
--- a/wqflask/utility/tools.py
+++ b/wqflask/utility/tools.py
@@ -113,6 +113,9 @@ def pylmm_command(guess=None):
def gemma_command(guess=None):
return assert_bin(get_setting("GEMMA_COMMAND",guess))
+def gemma_wrapper_command(guess=None):
+ return assert_bin(get_setting("GEMMA_WRAPPER_COMMAND",guess))
+
def plink_command(guess=None):
return assert_bin(get_setting("PLINK_COMMAND",guess))
@@ -240,10 +243,11 @@ JS_GUIX_PATH = get_setting('JS_GUIX_PATH')
JS_GN_PATH = get_setting('JS_GN_PATH')
# assert_dir(JS_GN_PATH)
-PYLMM_COMMAND = pylmm_command()
-GEMMA_COMMAND = gemma_command()
-PLINK_COMMAND = plink_command()
-TEMPDIR = tempdir() # defaults to UNIX TMPDIR
+PYLMM_COMMAND = pylmm_command()
+GEMMA_COMMAND = gemma_command()
+GEMMA_WRAPPER_COMMAND = gemma_wrapper_command()
+PLINK_COMMAND = plink_command()
+TEMPDIR = tempdir() # defaults to UNIX TMPDIR
# ---- Handle specific JS modules
JS_TWITTER_POST_FETCHER_PATH = get_setting("JS_TWITTER_POST_FETCHER_PATH",js_path("Twitter-Post-Fetcher"))