diff options
author | zsloan | 2021-02-18 16:25:21 +0000 |
---|---|---|
committer | zsloan | 2021-02-18 16:25:21 +0000 |
commit | fccbed3de9cd74ca2895c12ba1254957cbcca3fd (patch) | |
tree | 5d2d6bb9ceb5f48faa0e9c87da119db8a09f51c0 | |
parent | 935d618da8986ad85292836f0762e435deb37108 (diff) | |
download | genenetwork2-fccbed3de9cd74ca2895c12ba1254957cbcca3fd.tar.gz |
Fixed gen_menu to order ProbeSet datasets correctly - needed to remove DESC
-rw-r--r-- | wqflask/wqflask/api/gen_menu.py | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/wqflask/wqflask/api/gen_menu.py b/wqflask/wqflask/api/gen_menu.py index 308e5c4c..e490054d 100644 --- a/wqflask/wqflask/api/gen_menu.py +++ b/wqflask/wqflask/api/gen_menu.py @@ -208,8 +208,7 @@ def build_datasets(species, group, type_name): "AND ProbeSetFreeze.ProbeFreezeId = ProbeFreeze.Id " "and Tissue.Name = '{2}' AND ProbeFreeze.TissueId = " "Tissue.Id and ProbeFreeze.InbredSetId = InbredSet.Id " - "ORDER BY ProbeSetFreeze.OrderList " - "DESC").format(species, group, type_name)).fetchall() + "ORDER BY ProbeSetFreeze.OrderList ").format(species, group, type_name)).fetchall() datasets = [] for dataset_info in results: |