diff options
author | zsloan | 2023-02-17 19:02:13 +0000 |
---|---|---|
committer | zsloan | 2023-02-17 19:02:13 +0000 |
commit | 8e53cd521fe07adc1076c4cc9987f1619e413b6e (patch) | |
tree | 392dbad7730d422646373876f96f61dd369aa24e /wqflask/base/trait.py | |
parent | edeae35d520ba26c0b0fd19136271892e605d0e3 (diff) | |
download | genenetwork2-8e53cd521fe07adc1076c4cc9987f1619e413b6e.tar.gz |
Use abbreviation as symbol for phenotypes in collection page
Diffstat (limited to 'wqflask/base/trait.py')
-rw-r--r-- | wqflask/base/trait.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/wqflask/base/trait.py b/wqflask/base/trait.py index e1eca9d9..e6e1c6b3 100644 --- a/wqflask/base/trait.py +++ b/wqflask/base/trait.py @@ -333,7 +333,7 @@ def jsonable(trait, dataset=None): display_name=trait.display_name, hmac=hmac.data_hmac('{}:{}'.format(trait.name, dataset.name)), view=str(trait.view), - symbol=trait_symbol, + symbol=trait.abbreviation, dataset=dataset.name, dataset_name=dataset.shortname, description=trait.description_display, @@ -354,7 +354,7 @@ def jsonable(trait, dataset=None): display_name=trait.display_name, hmac=hmac.data_hmac('{}:{}'.format(trait.name, dataset.name)), view=str(trait.view), - symbol=trait_symbol, + symbol=trait.abbreviation, dataset=dataset.name, dataset_name=dataset.shortname, description=trait.description_display, |