diff options
author | zsloan | 2021-04-28 14:48:56 -0500 |
---|---|---|
committer | GitHub | 2021-04-28 14:48:56 -0500 |
commit | bab514be0f0d01fc192638b8e7ccd5909b842b23 (patch) | |
tree | 70ed52b51e2916ea203cbe2141f2eef73e58165e | |
parent | d31f2c4e4d57b927101fe9a33b4f540eef1385ae (diff) | |
parent | 65a2c8c1f455c5fad48fbac1a3e75310d49ed844 (diff) | |
download | genenetwork2-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
-rw-r--r-- | wqflask/base/trait.py | 4 |
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() |