From 5813a1a3006dc67278eb094513c455b9cb2fa91f Mon Sep 17 00:00:00 2001 From: zsloan Date: Mon, 4 Dec 2017 17:50:14 +0000 Subject: Fixed drop-down scripts to more appropriately deal with BXD300 groups (though there's still a minor issue with a few datasets) Added some header data to mapping output file Fixed links in Network Group nodes/edges --- 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 6553f090..1123f997 100644 --- a/wqflask/maintenance/gen_select_dataset.py +++ b/wqflask/maintenance/gen_select_dataset.py @@ -96,13 +96,14 @@ def get_groups(species): Cursor.execute("""select InbredSet.Name, InbredSet.FullName from InbredSet, Species, ProbeFreeze, GenoFreeze, PublishFreeze where Species.Name = '%s' - and InbredSet.SpeciesId = Species.Id and InbredSet.Name != 'BXD300' and + and InbredSet.SpeciesId = Species.Id and (PublishFreeze.InbredSetId = InbredSet.Id or GenoFreeze.InbredSetId = InbredSet.Id or ProbeFreeze.InbredSetId = InbredSet.Id) group by InbredSet.Name order by InbredSet.Name""" % species_name) - groups[species_name] = list(Cursor.fetchall()) + results = Cursor.fetchall() + groups[species_name] = list(results) return groups -- cgit v1.2.3