aboutsummaryrefslogtreecommitdiff
path: root/wqflask/base/trait.py
diff options
context:
space:
mode:
authorzsloan2020-12-01 23:18:04 -0600
committerGitHub2020-12-01 23:18:04 -0600
commit83d1dc24e2d527463e6aa7fd79c30e8242a5a312 (patch)
tree1123667118fd29457405b6a37fd8ea48e349910f /wqflask/base/trait.py
parent3a9c4bf295d0d2b4aafda0d816c5052bebd2f94a (diff)
parentd2db01fd8e69afdc6c21b4be529674fffe62b830 (diff)
downloadgenenetwork2-83d1dc24e2d527463e6aa7fd79c30e8242a5a312.tar.gz
Merge pull request #482 from zsloan/feature/corr_table_changes
Feature/corr table changes
Diffstat (limited to 'wqflask/base/trait.py')
-rw-r--r--wqflask/base/trait.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/wqflask/base/trait.py b/wqflask/base/trait.py
index 0f8f937c..ec8c40a0 100644
--- a/wqflask/base/trait.py
+++ b/wqflask/base/trait.py
@@ -516,7 +516,7 @@ def retrieve_trait_info(trait, dataset, get_qtl_info=False):
# If the dataset is confidential and the user has access to confidential
# phenotype traits, then display the pre-publication description instead
# of the post-publication description
- if trait.confidential:
+ if not trait.pubmed_id:
trait.abbreviation = trait.pre_publication_abbreviation
trait.description_display = trait.pre_publication_description
else: