diff options
author | Pjotr Prins | 2016-06-16 08:56:58 +0000 |
---|---|---|
committer | Pjotr Prins | 2016-06-16 08:56:58 +0000 |
commit | fb99ea4710aca3d96e316f37c5583edcbfb33e02 (patch) | |
tree | e874c11ab3f890ccc759fe2ab84f69029ff69db7 | |
parent | 79e820cb5c3257eb880a6260357a45b127f15496 (diff) | |
download | genenetwork2-fb99ea4710aca3d96e316f37c5583edcbfb33e02.tar.gz |
Generating the menu is now obsolete
-rwxr-xr-x | wqflask/maintenance/gen_select_dataset.py | 11 | ||||
-rwxr-xr-x | wqflask/wqflask/static/new/javascript/dataset_menu_structure.json | 2 |
2 files changed, 7 insertions, 6 deletions
diff --git a/wqflask/maintenance/gen_select_dataset.py b/wqflask/maintenance/gen_select_dataset.py index 489d291f..8742b531 100755 --- a/wqflask/maintenance/gen_select_dataset.py +++ b/wqflask/maintenance/gen_select_dataset.py @@ -5,6 +5,7 @@ It needs to be run manually when database has been changed. """ + # Copyright (C) University of Tennessee Health Science Center, Memphis, TN. # # This program is free software: you can redistribute it and/or modify it @@ -36,11 +37,11 @@ from __future__ import print_function, division #print("cdict is:", cdict) import sys -import zach_settings # no hard code paths! +# import zach_settings # no hard code paths! -import MySQLdb +# import MySQLdb -import simplejson as json +# import simplejson as json import urlparse @@ -54,8 +55,8 @@ from pprint import pformat as pf #conn = Engine.connect() - - +print('ERROR: This conversion is now OBSOLETE as the menu gets built from the database in Javascript using GN_SERVER instead!') +sys.exit() def parse_db_uri(db_uri): diff --git a/wqflask/wqflask/static/new/javascript/dataset_menu_structure.json b/wqflask/wqflask/static/new/javascript/dataset_menu_structure.json index 12a30e84..4ff90ca8 100755 --- a/wqflask/wqflask/static/new/javascript/dataset_menu_structure.json +++ b/wqflask/wqflask/static/new/javascript/dataset_menu_structure.json @@ -4827,4 +4827,4 @@ ] } } -}
\ No newline at end of file +} |