aboutsummaryrefslogtreecommitdiff
path: root/wqflask
diff options
context:
space:
mode:
authorzsloan2021-11-09 16:05:52 -0600
committerGitHub2021-11-09 16:05:52 -0600
commit027880ab8b0666e1e31e72dc1b5270d79ae53f94 (patch)
tree06da00c4cc89f93d640a96d4cbdff38ec4cf9fd9 /wqflask
parent595abbb1880a866cc9f1de718e814b6e8c710a4b (diff)
parentfe549317a5e0996cec246a011eb044b065f7ed8c (diff)
downloadgenenetwork2-027880ab8b0666e1e31e72dc1b5270d79ae53f94.tar.gz
Merge pull request #623 from zsloan/bug/temp_trait_fix
Fixed error mistakenly introduced by the last commit
Diffstat (limited to 'wqflask')
-rw-r--r--wqflask/wqflask/show_trait/show_trait.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/wqflask/wqflask/show_trait/show_trait.py b/wqflask/wqflask/show_trait/show_trait.py
index 678e3132..93f95852 100644
--- a/wqflask/wqflask/show_trait/show_trait.py
+++ b/wqflask/wqflask/show_trait/show_trait.py
@@ -45,6 +45,8 @@ class ShowTrait:
self.temp_trait = False
self.trait_id = kw['trait_id']
helper_functions.get_species_dataset_trait(self, kw)
+ self.resource_id = get_resource_id(self.dataset,
+ self.trait_id)
self.admin_status = get_highest_user_access_role(
user_id=user_id,
resource_id=(self.resource_id or ""),
@@ -76,8 +78,6 @@ class ShowTrait:
name=self.trait_id,
cellid=None)
self.trait_vals = Redis.get(self.trait_id).split()
- self.resource_id = get_resource_id(self.dataset,
- self.trait_id)
# ZS: Get verify/rna-seq link URLs
try: