diff options
author | zsloan | 2019-02-22 17:07:58 -0600 |
---|---|---|
committer | zsloan | 2019-02-22 17:07:58 -0600 |
commit | 4b4007f00f26afadc42d451c78e1253235ad65f3 (patch) | |
tree | 0b57f53eb0586a6325c1b9cd2bb0ed4b4c513e1d /wqflask/base/trait.py | |
parent | 91df491997694f1482119add20bb93bdd2f9e69b (diff) | |
download | genenetwork2-4b4007f00f26afadc42d451c78e1253235ad65f3.tar.gz |
Fixed some appearance issues with several tables
Fixed issue where cofactor selection screens were broken
Changed case attributes to be applied across groups, though need to discuss this with Rob since it shouldn't always be done this way
Added new inversion transformation
Diffstat (limited to 'wqflask/base/trait.py')
-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 e57d4176..9f76306f 100644 --- a/wqflask/base/trait.py +++ b/wqflask/base/trait.py @@ -206,6 +206,7 @@ def jsonable(trait): return dict(name=trait.name, symbol=trait.symbol, dataset=dataset.name, + dataset_name = dataset.shortname, description=trait.description_display, mean=trait.mean, location=trait.location_repr, @@ -217,6 +218,7 @@ def jsonable(trait): if trait.pubmed_id: return dict(name=trait.name, dataset=dataset.name, + dataset_name = dataset.shortname, description=trait.description_display, authors=trait.authors, pubmed_text=trait.pubmed_text, @@ -228,6 +230,7 @@ def jsonable(trait): else: return dict(name=trait.name, dataset=dataset.name, + dataset_name = dataset.shortname, description=trait.description_display, authors=trait.authors, pubmed_text=trait.pubmed_text, @@ -238,6 +241,7 @@ def jsonable(trait): elif dataset.type == "Geno": return dict(name=trait.name, dataset=dataset.name, + dataset_name = dataset.shortname, location=trait.location_repr ) else: |