aboutsummaryrefslogtreecommitdiff
path: root/wqflask/base
diff options
context:
space:
mode:
authorzsloan2020-10-27 18:00:20 -0500
committerGitHub2020-10-27 18:00:20 -0500
commit4dac73ae7f3cabe037e44892a12600f0e4625ca5 (patch)
tree5705fd7a095edc4c1cd85490f00dce4d5a0dc27c /wqflask/base
parent05ad2319f96bd9fa3852079bd6f605e1b13d6dd1 (diff)
parenta63528cbae4c9fdb3fffa402fed6cc2fedce02d5 (diff)
downloadgenenetwork2-4dac73ae7f3cabe037e44892a12600f0e4625ca5.tar.gz
Merge pull request #466 from zsloan/show_trait_attributes_fix
Fix issue where attribute values were displayed in the wrong columns
Diffstat (limited to 'wqflask/base')
-rw-r--r--wqflask/base/webqtlCaseData.py13
1 files changed, 1 insertions, 12 deletions
diff --git a/wqflask/base/webqtlCaseData.py b/wqflask/base/webqtlCaseData.py
index 3cf2d80d..aa55470f 100644
--- a/wqflask/base/webqtlCaseData.py
+++ b/wqflask/base/webqtlCaseData.py
@@ -41,8 +41,6 @@ class webqtlCaseData:
self.this_id = None # Set a sane default (can't be just "id" cause that's a reserved word)
self.outlier = None # Not set to True/False until later
- self.first_attr_col = self.get_first_attr_col()
-
def __repr__(self):
case_data_string = "<webqtlCaseData> "
if self.value is not None:
@@ -80,13 +78,4 @@ class webqtlCaseData:
def display_num_cases(self):
if self.num_cases is not None:
return "%s" % self.num_cases
- return "x"
-
- def get_first_attr_col(self):
- col_num = 4
- if self.variance is not None:
- col_num += 2
- if self.num_cases is not None:
- col_num += 1
-
- return col_num \ No newline at end of file
+ return "x" \ No newline at end of file