aboutsummaryrefslogtreecommitdiff
path: root/wqflask/maintenance/gen_select_dataset.py
diff options
context:
space:
mode:
authorzsloan2016-09-13 16:13:13 +0000
committerzsloan2016-09-13 16:13:13 +0000
commit909a1cca82d86f824c6778b59b2ee339a7ee8ffd (patch)
treeaa0fa43e3d6aa66492d8d79a1696c638f8d97d27 /wqflask/maintenance/gen_select_dataset.py
parent47afd15d6524a2071191952cd25796761353ad5e (diff)
downloadgenenetwork2-909a1cca82d86f824c6778b59b2ee339a7ee8ffd.tar.gz
Fixed the path for the json file in gen_select_dataset.py since it was wrong and uncommented simplejson import
Added "Reset" option to network graph that returns all the nodes/edges Made the visualization options area in the network graph a little wider
Diffstat (limited to 'wqflask/maintenance/gen_select_dataset.py')
-rw-r--r--wqflask/maintenance/gen_select_dataset.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/wqflask/maintenance/gen_select_dataset.py b/wqflask/maintenance/gen_select_dataset.py
index 23adc4f9..542c0d83 100644
--- a/wqflask/maintenance/gen_select_dataset.py
+++ b/wqflask/maintenance/gen_select_dataset.py
@@ -49,7 +49,7 @@ from utility.tools import locate, locate_ignore_error, TEMPDIR, SQL_URI
import MySQLdb
-# import simplejson as json
+import simplejson as json
import urlparse
@@ -289,7 +289,7 @@ def main():
#print("data:", data)
- output_file = """./wqflask/wqflask/static/new/javascript/dataset_menu_structure.json"""
+ output_file = """./wqflask/static/new/javascript/dataset_menu_structure.json"""
with open(output_file, 'w') as fh:
json.dump(data, fh, indent=" ", sort_keys=True)