aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorzsloan2021-05-06 19:45:57 +0000
committerzsloan2021-05-06 19:45:57 +0000
commit6dc0c82ed93978be67357e0e84b6e5b3531054e6 (patch)
tree6db9b2379285ee46c80001a42737bb2dbd4306d2
parentd60d30ca54106ff052d6953917f29465ae6e764b (diff)
downloadgenenetwork2-6dc0c82ed93978be67357e0e84b6e5b3531054e6.tar.gz
Include group/species in form parameters on trait page so they can be displayed on mapping loading page
-rw-r--r--wqflask/wqflask/show_trait/show_trait.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/wqflask/wqflask/show_trait/show_trait.py b/wqflask/wqflask/show_trait/show_trait.py
index fcebbc4d..b6fcbcb8 100644
--- a/wqflask/wqflask/show_trait/show_trait.py
+++ b/wqflask/wqflask/show_trait/show_trait.py
@@ -263,6 +263,9 @@ class ShowTrait:
hddn['temp_trait'] = True
hddn['group'] = self.temp_group
hddn['species'] = self.temp_species
+ else:
+ hddn['group'] = self.dataset.group.name
+ hddn['species'] = self.dataset.group.species
hddn['use_outliers'] = False
hddn['method'] = "gemma"
hddn['selected_chr'] = -1