aboutsummaryrefslogtreecommitdiff
path: root/wqflask/base
diff options
context:
space:
mode:
authorZachary Sloan2014-10-17 20:46:01 +0000
committerZachary Sloan2014-10-17 20:46:01 +0000
commitca33ff7ee658dec265277f1f063a55f2a0b5530a (patch)
tree23f801648a376d4095c434c02517e944b70beab5 /wqflask/base
parent50cfa08956af0e0940bc87510226286edb6349db (diff)
parent28145f910c4179f8e84aa7fa3e250dea292439c5 (diff)
downloadgenenetwork2-ca33ff7ee658dec265277f1f063a55f2a0b5530a.tar.gz
Merge /home/zas1024/gene
Diffstat (limited to 'wqflask/base')
-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