From 15d64a94eacf6b883fcc1ef2a49aa6ca7934eb96 Mon Sep 17 00:00:00 2001 From: zsloan Date: Tue, 14 May 2019 12:40:18 -0500 Subject: Added all of the third party links from GN1 Fixed issue with the script that generates the drop-down menus where phenotype/genotype datasets wouldn't show up for species without any mRNA assay datasets Added icon for smartphones/tablets Made error more informative for main search Added gene symbol column to collections (need to add something that removes the column if it's all empty) --- wqflask/maintenance/gen_select_dataset.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'wqflask/maintenance') diff --git a/wqflask/maintenance/gen_select_dataset.py b/wqflask/maintenance/gen_select_dataset.py index c590a185..be028bdd 100644 --- a/wqflask/maintenance/gen_select_dataset.py +++ b/wqflask/maintenance/gen_select_dataset.py @@ -124,8 +124,9 @@ def get_types(groups): if len(types_list) > 0: types[species][group_name] += types_list else: - types[species].pop(group_name, None) - groups[species] = tuple(group for group in groups[species] if group[0] != group_name) + if not phenotypes_exist(group_name) and not genotypes_exist(group_name): + types[species].pop(group_name, None) + groups[species] = tuple(group for group in groups[species] if group[0] != group_name) else: #ZS: This whole else statement might be unnecessary, need to check types_list = build_types(species, group_name) if len(types_list) > 0: -- cgit v1.2.3