diff options
author | zsloan | 2016-12-15 15:13:02 -0600 |
---|---|---|
committer | GitHub | 2016-12-15 15:13:02 -0600 |
commit | 7ea8ee22074c297925335cc048777f0ce8cb3912 (patch) | |
tree | c499ba97a0dcffe4383a0b7a6adc4efa6919ac34 /wqflask/base/webqtlCaseData.py | |
parent | 45c7ffe78337e0ef051ee96a751d4ee8cf809acb (diff) | |
parent | b88eb7fcbd24462efb34fd3e30bfb64483223935 (diff) | |
download | genenetwork2-7ea8ee22074c297925335cc048777f0ce8cb3912.tar.gz |
Merge pull request #234 from zsloan/master
Various changes
Diffstat (limited to 'wqflask/base/webqtlCaseData.py')
-rw-r--r-- | wqflask/base/webqtlCaseData.py | 10 |
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 |