From 28145f910c4179f8e84aa7fa3e250dea292439c5 Mon Sep 17 00:00:00 2001 From: Zachary Sloan Date: Fri, 17 Oct 2014 20:34:38 +0000 Subject: Added reference, policies, and links pages Improved the appearance of the header menu and "title bar" --- wqflask/base/data_set.py | 2 ++ 1 file changed, 2 insertions(+) (limited to 'wqflask/base') 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 -- cgit v1.2.3