diff options
author | zsloan | 2021-11-09 22:04:24 +0000 |
---|---|---|
committer | zsloan | 2021-11-09 22:04:24 +0000 |
commit | fe549317a5e0996cec246a011eb044b065f7ed8c (patch) | |
tree | d40efcdbb83bcf694edce222cd05d41a2409e6f5 /wqflask | |
parent | 2fcf4d0343244936d6b066e85a1a06ebb33adf26 (diff) | |
download | genenetwork2-fe549317a5e0996cec246a011eb044b065f7ed8c.tar.gz |
Fixed error mistakenly introduced by the last commit
Diffstat (limited to 'wqflask')
-rw-r--r-- | wqflask/wqflask/show_trait/show_trait.py | 4 |
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: |