aboutsummaryrefslogtreecommitdiff
path: root/wqflask/maintenance
diff options
context:
space:
mode:
authorPjotr Prins2016-06-16 08:56:58 +0000
committerPjotr Prins2016-06-16 08:56:58 +0000
commitfb99ea4710aca3d96e316f37c5583edcbfb33e02 (patch)
treee874c11ab3f890ccc759fe2ab84f69029ff69db7 /wqflask/maintenance
parent79e820cb5c3257eb880a6260357a45b127f15496 (diff)
downloadgenenetwork2-fb99ea4710aca3d96e316f37c5583edcbfb33e02.tar.gz
Generating the menu is now obsolete
Diffstat (limited to 'wqflask/maintenance')
-rwxr-xr-xwqflask/maintenance/gen_select_dataset.py11
1 files changed, 6 insertions, 5 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):