aboutsummaryrefslogtreecommitdiff
path: root/wqflask
diff options
context:
space:
mode:
authorzsloan2021-05-14 18:36:20 +0000
committerzsloan2021-05-14 18:36:20 +0000
commit1c2417fb3a8d8eb7087ab77a811aa790a9e2eb5b (patch)
tree6bbc5ff89a4b96cad9d0d9bfc11be492303c4b60 /wqflask
parent82c139048e1f7f34b29d2c040866e1bc5ea02134 (diff)
downloadgenenetwork2-1c2417fb3a8d8eb7087ab77a811aa790a9e2eb5b.tar.gz
Changed logic in has_num_cases to ignore N=1
Diffstat (limited to 'wqflask')
-rw-r--r--wqflask/wqflask/show_trait/show_trait.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/wqflask/wqflask/show_trait/show_trait.py b/wqflask/wqflask/show_trait/show_trait.py
index 424b8ee5..837c7a54 100644
--- a/wqflask/wqflask/show_trait/show_trait.py
+++ b/wqflask/wqflask/show_trait/show_trait.py
@@ -631,7 +631,7 @@ def has_num_cases(this_trait):
has_n = False
if this_trait.dataset.type != "ProbeSet" and this_trait.dataset.type != "Geno":
for name, sample in list(this_trait.data.items()):
- if sample.num_cases:
+ if sample.num_cases and sample.num_cases != "1":
has_n = True
break