From 909a1cca82d86f824c6778b59b2ee339a7ee8ffd Mon Sep 17 00:00:00 2001 From: zsloan Date: Tue, 13 Sep 2016 16:13:13 +0000 Subject: 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 --- wqflask/maintenance/gen_select_dataset.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'wqflask/maintenance') 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) -- cgit v1.2.3