aboutsummaryrefslogtreecommitdiff
path: root/wqflask/utility
diff options
context:
space:
mode:
authorpjotrp2016-02-24 09:25:43 +0000
committerPjotr Prins2016-04-20 09:01:42 +0000
commit92fda7557645199276bf4f8a65c40252c4d83c21 (patch)
tree824940fb4a5a768128a8ba4d4a804558628f31d6 /wqflask/utility
parente5951ad5f3bb244e4dc53cd04c291dcbdef544a0 (diff)
downloadgenenetwork2-92fda7557645199276bf4f8a65c40252c4d83c21.tar.gz
Settled on the _COMMAND syntax over _RUN
Diffstat (limited to 'wqflask/utility')
-rw-r--r--wqflask/utility/tools.py10
1 files changed, 3 insertions, 7 deletions
diff --git a/wqflask/utility/tools.py b/wqflask/utility/tools.py
index d4c10c68..0f2e4d88 100644
--- a/wqflask/utility/tools.py
+++ b/wqflask/utility/tools.py
@@ -1,9 +1,5 @@
# Tools/paths finder resolves external paths from settings and/or environment
# variables
-#
-# Currently supported:
-#
-# PYLMM_PATH finds the root of the git repository of the pylmm_gn2 tool
import os
import sys
@@ -69,13 +65,13 @@ def valid_path(dir):
return None
def pylmm_command(guess=None):
- return valid_bin(get_setting("PYLMM_RUN",guess))
+ return valid_bin(get_setting("PYLMM_COMMAND",guess))
def gemma_command(guess=None):
- return valid_bin(get_setting("GEMMA_RUN",guess))
+ return valid_bin(get_setting("GEMMA_COMMAND",guess))
def plink_command(guess=None):
- return valid_bin(get_setting("PLINK_RUN",guess))
+ return valid_bin(get_setting("PLINK_COMMAND",guess))
def flat_files(subdir=None):
base = get_setting("GENENETWORK_FILES")