aboutsummaryrefslogtreecommitdiff
path: root/wqflask
diff options
context:
space:
mode:
authorPjotr Prins2016-09-13 09:09:21 +0200
committerPjotr Prins2016-09-13 09:09:21 +0200
commitf399b3bf514b396de67644d4b1e2018886cecac2 (patch)
treeac7bae3642875a730c4cee662cd94ebaaebf3e7c /wqflask
parentd3ee8ad4b193cdcb9762a267955a2778ea75dc5a (diff)
downloadgenenetwork2-f399b3bf514b396de67644d4b1e2018886cecac2.tar.gz
Run scripts from ./wqflask - just like the webserver
Diffstat (limited to 'wqflask')
-rw-r--r--wqflask/base/data_set.py2
-rw-r--r--wqflask/maintenance/gen_select_dataset.py4
2 files changed, 3 insertions, 3 deletions
diff --git a/wqflask/base/data_set.py b/wqflask/base/data_set.py
index 6cd3c8e6..1b4e1195 100644
--- a/wqflask/base/data_set.py
+++ b/wqflask/base/data_set.py
@@ -91,7 +91,7 @@ Publish or ProbeSet. E.g.
if USE_GN_SERVER:
data = menu_main()
else:
- file_name = "wqflask/wqflask/static/new/javascript/dataset_menu_structure.json"
+ file_name = "wqflask/static/new/javascript/dataset_menu_structure.json"
with open(file_name, 'r') as fh:
data = json.load(fh)
diff --git a/wqflask/maintenance/gen_select_dataset.py b/wqflask/maintenance/gen_select_dataset.py
index f2f0830f..23adc4f9 100644
--- a/wqflask/maintenance/gen_select_dataset.py
+++ b/wqflask/maintenance/gen_select_dataset.py
@@ -40,8 +40,8 @@ from __future__ import print_function, division
import sys
-# NEW: Note we prepend the current path - otherwise a guix instance of GN2 is used instead
-sys.path.insert(0,'./wqflask')
+# NEW: Note we prepend the current path - otherwise a guix instance of GN2 may be used instead
+sys.path.insert(0,'./')
# NEW: import app to avoid a circular dependency on utility.tools
from wqflask import app