aboutsummaryrefslogtreecommitdiff
path: root/wqflask/base/webqtlCaseData.py
diff options
context:
space:
mode:
authorLei Yan2017-02-02 19:08:31 +0000
committerLei Yan2017-02-02 19:08:31 +0000
commit568adbb1bfe72c22fae9bec7da7a421945674743 (patch)
tree1e0c445912af7ccb273a25b858889048eb96f756 /wqflask/base/webqtlCaseData.py
parent1cae8e42f0f73718549b369cf0cd4d9f320e230e (diff)
parente63c4014e7bc34b440707be19af3779b72102fdb (diff)
downloadgenenetwork2-568adbb1bfe72c22fae9bec7da7a421945674743.tar.gz
Merge /home/zas1024/gene
Diffstat (limited to 'wqflask/base/webqtlCaseData.py')
-rw-r--r--wqflask/base/webqtlCaseData.py10
1 files changed, 5 insertions, 5 deletions
diff --git a/wqflask/base/webqtlCaseData.py b/wqflask/base/webqtlCaseData.py
index 2f88f778..845a7224 100644
--- a/wqflask/base/webqtlCaseData.py
+++ b/wqflask/base/webqtlCaseData.py
@@ -44,15 +44,15 @@ class webqtlCaseData(object):
def __repr__(self):
str = "<webqtlCaseData> "
- if self.value != None:
+ if self.value:
str += "value=%2.3f" % self.value
- if self.variance != None:
+ if self.variance:
str += " variance=%2.3f" % self.variance
- if self.num_cases != None:
+ if self.num_cases:
str += " ndata=%d" % self.num_cases
- if self.name != None:
+ if self.name:
str += " name=%s" % self.name
- if self.name2 != None:
+ if self.name2:
str += " name2=%s" % self.name2
return str