aboutsummaryrefslogtreecommitdiff
path: root/wqflask/base/trait.py
diff options
context:
space:
mode:
authorzsloan2017-05-31 16:01:21 +0000
committerzsloan2017-05-31 16:01:21 +0000
commit6c3edf38ecc6549bc2cdf3893067d64a0a8e0ba3 (patch)
treec6ddb70bb49333740ca9853e96f4984397f77831 /wqflask/base/trait.py
parente32d5e9b1966b48e5e1c667d7194defe798a9517 (diff)
downloadgenenetwork2-6c3edf38ecc6549bc2cdf3893067d64a0a8e0ba3.tar.gz
Added various tool options to correlation results page and improved table appearance for mRNA assay data sets (still need to improve it for others)
Fixed minor logic issue in trait.py
Diffstat (limited to 'wqflask/base/trait.py')
-rw-r--r--wqflask/base/trait.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/wqflask/base/trait.py b/wqflask/base/trait.py
index e22a51e4..33a4efe9 100644
--- a/wqflask/base/trait.py
+++ b/wqflask/base/trait.py
@@ -206,6 +206,8 @@ class GeneralTrait(object):
formatted = self.description
if self.probe_target_description:
formatted += "; " + self.probe_target_description
+ else:
+ formatted = "Not available"
elif self.dataset.type == 'Publish':
if self.confidential:
formatted = self.pre_publication_description