aboutsummaryrefslogtreecommitdiff
path: root/wqflask/utility
diff options
context:
space:
mode:
authorPjotr Prins2016-04-20 08:49:59 +0000
committerPjotr Prins2016-04-20 08:49:59 +0000
commit3be9e4a0950b1ea2d560463032c6f4104baf738e (patch)
tree2b976ee9d78e2235121954f19ea1fa7d0f913426 /wqflask/utility
parent94e3ac8e2fff5da72fd1c0358fdb6fdad9a7830c (diff)
downloadgenenetwork2-3be9e4a0950b1ea2d560463032c6f4104baf738e.tar.gz
[PATCH 026/100] Introducing cached values PYLMM_COMMAND,
GEMMA_COMMAND, PLINK_COMMAND and TEMPDIR
Diffstat (limited to 'wqflask/utility')
-rw-r--r--wqflask/utility/tools.py8
1 files changed, 7 insertions, 1 deletions
diff --git a/wqflask/utility/tools.py b/wqflask/utility/tools.py
index dc7bc33c..5d69e699 100644
--- a/wqflask/utility/tools.py
+++ b/wqflask/utility/tools.py
@@ -81,4 +81,10 @@ def flat_files(subdir=None):
def tempdir():
return valid_path(get_setting("TEMPDIR","/tmp"))
-TEMPDIR = tempdir()
+# Cached values
+
+PYLMM_COMMAND = pylmm_command()
+GEMMA_COMMAND = pylmm_command()
+PLINK_COMMAND = pylmm_command()
+FLAT_FILES = flat_files()
+TEMPDIR = tempdir()