aboutsummaryrefslogtreecommitdiff
path: root/wqflask/base
diff options
context:
space:
mode:
authorPjotr Prins2016-09-24 07:41:39 +0000
committerPjotr Prins2016-09-25 07:39:35 +0000
commite7693e53821747d294452c9bff7e8b0f38a0eb8e (patch)
treec019cd95ddf99ba1bcde1587c3d454b5b916855e /wqflask/base
parentae1a7f0c8bed6b1a3445a4fac26a578851715629 (diff)
downloadgenenetwork2-e7693e53821747d294452c9bff7e8b0f38a0eb8e.tar.gz
tools: export GENENETWORK_FILES and move cache into TMPDIR/gn2
Diffstat (limited to 'wqflask/base')
-rw-r--r--wqflask/base/webqtlConfig.py5
1 files changed, 3 insertions, 2 deletions
diff --git a/wqflask/base/webqtlConfig.py b/wqflask/base/webqtlConfig.py
index 8c67a6fd..6bbabdec 100644
--- a/wqflask/base/webqtlConfig.py
+++ b/wqflask/base/webqtlConfig.py
@@ -60,9 +60,10 @@ ENSEMBLETRANSCRIPT_URL="http://useast.ensembl.org/Mus_musculus/Lucene/Details?sp
# HTMLPATH is replaced by GENODIR
# IMGDIR is replaced by GENERATED_IMAGE_DIR
-# Temporary storage:
+# Temporary storage (note that this TMPDIR is not the same directory
+# as the UNIX TMPDIR)
TMPDIR = mk_dir(TEMPDIR+'/gn2/')
-CACHEDIR = mk_dir(TEMPDIR+'/cache/')
+CACHEDIR = mk_dir(TMPDIR+'/cache/')
# We can no longer write into the git tree:
GENERATED_IMAGE_DIR = mk_dir(TMPDIR+'/generated/')
GENERATED_TEXT_DIR = mk_dir(TMPDIR+'/generated_text/')