aboutsummaryrefslogtreecommitdiff
path: root/wqflask/maintenance/gen_select_dataset.py
diff options
context:
space:
mode:
authorZachary Sloan2013-07-17 23:06:32 +0000
committerZachary Sloan2013-07-17 23:06:32 +0000
commit1a3a456eb7635337a966913f2e2e75c8a89bb92e (patch)
treea57c551065d9ffadddaac481311acf54dad6a3c1 /wqflask/maintenance/gen_select_dataset.py
parentc89e66a6c772de31abc9336acebc72483f84074c (diff)
downloadgenenetwork2-1a3a456eb7635337a966913f2e2e75c8a89bb92e.tar.gz
Fixed gen_select_dataset.py
Appended redis installation info to notes
Diffstat (limited to 'wqflask/maintenance/gen_select_dataset.py')
-rw-r--r--wqflask/maintenance/gen_select_dataset.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/wqflask/maintenance/gen_select_dataset.py b/wqflask/maintenance/gen_select_dataset.py
index 4c544192..b6bf5bfd 100644
--- a/wqflask/maintenance/gen_select_dataset.py
+++ b/wqflask/maintenance/gen_select_dataset.py
@@ -41,7 +41,6 @@ from pprint import pformat as pf
from base import webqtlConfig
-
# build MySql database connection
Con = MySQLdb.Connect(db=webqtlConfig.DB_NAME,
host=webqtlConfig.MYSQL_SERVER,
@@ -148,6 +147,7 @@ def build_datasets(species, group, type_name):
def main():
"""Generates and outputs (as json file) the data for the main dropdown menus on the home page"""
+
species = get_species()
groups = get_groups(species)
types = get_types(groups)