diff options
author | Zachary Sloan | 2014-10-17 20:34:38 +0000 |
---|---|---|
committer | Zachary Sloan | 2014-10-17 20:34:38 +0000 |
commit | 28145f910c4179f8e84aa7fa3e250dea292439c5 (patch) | |
tree | 28b171c490091d82250342b51cedfce53d65c29f /wqflask/base | |
parent | b21b75cb120e60015114f04dfdb40cfa9c038dba (diff) | |
download | genenetwork2-28145f910c4179f8e84aa7fa3e250dea292439c5.tar.gz |
Added reference, policies, and links pages
Improved the appearance of the header menu and "title bar"
Diffstat (limited to 'wqflask/base')
-rwxr-xr-x | wqflask/base/data_set.py | 2 |
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 |