aboutsummaryrefslogtreecommitdiff
path: root/wqflask/base
diff options
context:
space:
mode:
authorzsloan2023-02-17 19:02:13 +0000
committerzsloan2023-02-17 19:02:13 +0000
commit8e53cd521fe07adc1076c4cc9987f1619e413b6e (patch)
tree392dbad7730d422646373876f96f61dd369aa24e /wqflask/base
parentedeae35d520ba26c0b0fd19136271892e605d0e3 (diff)
downloadgenenetwork2-8e53cd521fe07adc1076c4cc9987f1619e413b6e.tar.gz
Use abbreviation as symbol for phenotypes in collection page
Diffstat (limited to 'wqflask/base')
-rw-r--r--wqflask/base/trait.py4
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,