aboutsummaryrefslogtreecommitdiff
path: root/wqflask/base
diff options
context:
space:
mode:
authorzsloan2015-09-11 22:36:43 +0000
committerzsloan2015-09-11 22:36:43 +0000
commitfc4b6828055fffbd1adbe226bfbf706c425119a9 (patch)
tree5d712a92410754e412dc8bb7da992780b9d8229a /wqflask/base
parent52751a5600245af7608441dbb39e99264668ecdb (diff)
parent962c80e669d2d2fe7ef6dc8c11fb827ebe7926bc (diff)
downloadgenenetwork2-fc4b6828055fffbd1adbe226bfbf706c425119a9.tar.gz
Merge branch 'master' of github.com:genenetwork/genenetwork2
Diffstat (limited to 'wqflask/base')
-rwxr-xr-xwqflask/base/data_set.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/wqflask/base/data_set.py b/wqflask/base/data_set.py
index e98258f6..e2db9ad7 100755
--- a/wqflask/base/data_set.py
+++ b/wqflask/base/data_set.py
@@ -1171,7 +1171,8 @@ class MrnaAssayDataSet(DataSet):
mean = result[0] if result else 0
- this_trait.mean = "%2.3f" % mean
+ if mean:
+ this_trait.mean = "%2.3f" % mean
#LRS and its location
this_trait.LRS_score_repr = 'N/A'