From 7d5dba3e38892475edec80c922f06bcb40b0dcb3 Mon Sep 17 00:00:00 2001 From: zsloan Date: Thu, 4 Feb 2016 19:01:16 +0000 Subject: Most importantly, this commit fixes an issue that caused the trait page to not work because of the new dataset_menu_structure.json file An Intro section is also added to the header, though for the time being its contents aren't populated and the edit option isn't working --- wqflask/base/data_set.py | 2 +- wqflask/wqflask/templates/base.html | 3 +++ wqflask/wqflask/views.py | 5 +++++ 3 files changed, 9 insertions(+), 1 deletion(-) (limited to 'wqflask') diff --git a/wqflask/base/data_set.py b/wqflask/base/data_set.py index 5603fe2e..68a2a185 100755 --- a/wqflask/base/data_set.py +++ b/wqflask/base/data_set.py @@ -91,7 +91,7 @@ class Dataset_Types(object): for dataset in data['datasets'][species][group][dataset_type]: #print("dataset is:", dataset) - short_dataset_name = dataset[0] + short_dataset_name = dataset[1] if dataset_type == "Phenotypes": new_type = "Publish" elif dataset_type == "Genotypes": diff --git a/wqflask/wqflask/templates/base.html b/wqflask/wqflask/templates/base.html index 4d44642b..24d959f4 100755 --- a/wqflask/wqflask/templates/base.html +++ b/wqflask/wqflask/templates/base.html @@ -34,6 +34,9 @@