From 1a3a456eb7635337a966913f2e2e75c8a89bb92e Mon Sep 17 00:00:00 2001 From: Zachary Sloan Date: Wed, 17 Jul 2013 23:06:32 +0000 Subject: Fixed gen_select_dataset.py Appended redis installation info to notes --- wqflask/maintenance/gen_select_dataset.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'wqflask/maintenance') 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) -- cgit v1.2.3