diff options
author | Sam Ockman | 2012-06-05 00:24:44 -0400 |
---|---|---|
committer | Sam Ockman | 2012-06-05 00:24:44 -0400 |
commit | 8ac39ead1014953c634e85d0ce340497ecfe2934 (patch) | |
tree | f69bef8650f64bdfa5093c39fe7dc6a8b5ffac82 /wqflask/base/webqtlCaseData.py | |
parent | 8abd879e71f492ce61e0b8d3eab53fcb43c34681 (diff) | |
download | genenetwork2-8ac39ead1014953c634e85d0ce340497ecfe2934.tar.gz |
Ran reindent.py recursively on wqflask directory
Diffstat (limited to 'wqflask/base/webqtlCaseData.py')
-rwxr-xr-x | wqflask/base/webqtlCaseData.py | 43 |
1 files changed, 20 insertions, 23 deletions
diff --git a/wqflask/base/webqtlCaseData.py b/wqflask/base/webqtlCaseData.py index 4df32ca4..f68354be 100755 --- a/wqflask/base/webqtlCaseData.py +++ b/wqflask/base/webqtlCaseData.py @@ -25,30 +25,27 @@ # Last updated by GeneNetwork Core Team 2010/10/20 class webqtlCaseData: - """ - one case data in one trait - """ + """ + one case data in one trait + """ - val = None #Trait Value - var = None #Trait Variance - N = None #Number of individuals - - def __init__(self, val=val, var=var, N=N): - self.val = val - self.var = var - self.N = N - - def __str__(self): - str = "" - if self.val != None: - str += "value=%2.3f" % self.val - if self.var != None: - str += " variance=%2.3f" % self.var - if self.N != None: - str += " ndata=%d" % self.N - return str - - __repr__ = __str__ + val = None #Trait Value + var = None #Trait Variance + N = None #Number of individuals + def __init__(self, val=val, var=var, N=N): + self.val = val + self.var = var + self.N = N + def __str__(self): + str = "" + if self.val != None: + str += "value=%2.3f" % self.val + if self.var != None: + str += " variance=%2.3f" % self.var + if self.N != None: + str += " ndata=%d" % self.N + return str + __repr__ = __str__ |