aboutsummaryrefslogtreecommitdiff
path: root/wqflask
diff options
context:
space:
mode:
authorAlexander_Kabui2022-08-31 16:10:09 +0300
committerAlexander_Kabui2022-08-31 18:13:46 +0300
commit9ee7efd8b18d8caece9cf8d3cc1d58ecbcf209a6 (patch)
treedd12912e74c2ade63cf1bc4616c5764a121d862c /wqflask
parent6652c3137ec477e02c8291ee6154f24cc3a4cef2 (diff)
downloadgenenetwork2-9ee7efd8b18d8caece9cf8d3cc1d58ecbcf209a6.tar.gz
add new environment variable:TEXTDIR
Diffstat (limited to 'wqflask')
-rw-r--r--wqflask/base/webqtlConfig.py5
1 files changed, 4 insertions, 1 deletions
diff --git a/wqflask/base/webqtlConfig.py b/wqflask/base/webqtlConfig.py
index 39947158..371a94ab 100644
--- a/wqflask/base/webqtlConfig.py
+++ b/wqflask/base/webqtlConfig.py
@@ -7,7 +7,7 @@
# with those in utility/tools.py
#
#########################################
-
+import os
from utility.tools import valid_path, mk_dir, assert_dir, assert_writable_dir, flat_files, TEMPDIR
# Debug Level
@@ -95,6 +95,9 @@ if not valid_path(JSON_GENODIR):
# fall back on old location (move the dir, FIXME)
JSON_GENODIR = flat_files('json')
+
+TEXTDIR = os.path.join(os.environ.get(
+ "GNSHARE", "/gnshare/gn/"), "web/ProbeSetFreeze_DataMatrix")
# Are we using the following...?
PORTADDR = "http://50.16.251.170"
INFOPAGEHREF = '/dbdoc/%s.html'