diff options
author | zsloan | 2020-12-02 14:25:40 -0600 |
---|---|---|
committer | zsloan | 2020-12-02 14:25:40 -0600 |
commit | 30d8f3a62618d6d0965badcbe294489a2807aebf (patch) | |
tree | bbe0e6cb9eef4f0d42b40af6250eec9e352b1a47 /wqflask/base/trait.py | |
parent | c0fa6e81a0c93bb83e0753732cdcf05fb3290769 (diff) | |
parent | 68db4526f8da70358b0a018c59dd74fef8d28422 (diff) | |
download | genenetwork2-30d8f3a62618d6d0965badcbe294489a2807aebf.tar.gz |
Merge branch 'testing' of github.com:genenetwork/genenetwork2 into testing
Diffstat (limited to 'wqflask/base/trait.py')
-rw-r--r-- | wqflask/base/trait.py | 2 |
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: |