aboutsummaryrefslogtreecommitdiff
path: root/wqflask/base/data_set.py
diff options
context:
space:
mode:
authorZachary Sloan2014-10-17 20:34:38 +0000
committerZachary Sloan2014-10-17 20:34:38 +0000
commit28145f910c4179f8e84aa7fa3e250dea292439c5 (patch)
tree28b171c490091d82250342b51cedfce53d65c29f /wqflask/base/data_set.py
parentb21b75cb120e60015114f04dfdb40cfa9c038dba (diff)
downloadgenenetwork2-28145f910c4179f8e84aa7fa3e250dea292439c5.tar.gz
Added reference, policies, and links pages
Improved the appearance of the header menu and "title bar"
Diffstat (limited to 'wqflask/base/data_set.py')
-rwxr-xr-xwqflask/base/data_set.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/wqflask/base/data_set.py b/wqflask/base/data_set.py
index 3fb7203d..685cd648 100755
--- a/wqflask/base/data_set.py
+++ b/wqflask/base/data_set.py
@@ -699,6 +699,8 @@ class PhenotypeDataSet(DataSet):
if not this_trait.year.isdigit():
this_trait.pubmed_text = "N/A"
+ else:
+ this_trait.pubmed_text = this_trait.year
if this_trait.pubmed_id:
this_trait.pubmed_link = webqtlConfig.PUBMEDLINK_URL % this_trait.pubmed_id