aboutsummaryrefslogtreecommitdiff
path: root/wqflask
diff options
context:
space:
mode:
authorzsloan2021-04-28 14:48:56 -0500
committerGitHub2021-04-28 14:48:56 -0500
commitbab514be0f0d01fc192638b8e7ccd5909b842b23 (patch)
tree70ed52b51e2916ea203cbe2141f2eef73e58165e /wqflask
parentd31f2c4e4d57b927101fe9a33b4f540eef1385ae (diff)
parent65a2c8c1f455c5fad48fbac1a3e75310d49ed844 (diff)
downloadgenenetwork2-bab514be0f0d01fc192638b8e7ccd5909b842b23.tar.gz
Merge pull request #568 from zsloan/bug/fix_gemma_temptrait_covariates
Fix the way temp traits are displayed when selecting covariates from a collection
Diffstat (limited to 'wqflask')
-rw-r--r--wqflask/base/trait.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/wqflask/base/trait.py b/wqflask/base/trait.py
index df96d46e..b4b4452a 100644
--- a/wqflask/base/trait.py
+++ b/wqflask/base/trait.py
@@ -337,6 +337,10 @@ def jsonable(trait):
dataset_name=dataset.shortname,
location=trait.location_repr
)
+ elif dataset.name == "Temp":
+ return dict(name=trait.name,
+ dataset="Temp",
+ dataset_name="Temp")
else:
return dict()