From f35376bc9a44bf3a87a860a8aab00c3f091970ff Mon Sep 17 00:00:00 2001
From: zsloan
Date: Thu, 17 Oct 2019 15:28:05 -0500
Subject: Fixed issue where incorrect N showed up when there should be no N,
and fixed issue where collection pop-up when selecting cofactors was too
narrow
---
wqflask/wqflask/show_trait/SampleList.py | 2 +-
wqflask/wqflask/show_trait/show_trait.py | 2 +-
wqflask/wqflask/templates/collections/list.html | 2 +-
3 files changed, 3 insertions(+), 3 deletions(-)
(limited to 'wqflask')
diff --git a/wqflask/wqflask/show_trait/SampleList.py b/wqflask/wqflask/show_trait/SampleList.py
index 50026bba..dc98eb2b 100644
--- a/wqflask/wqflask/show_trait/SampleList.py
+++ b/wqflask/wqflask/show_trait/SampleList.py
@@ -68,7 +68,7 @@ class SampleList(object):
#### For extra attribute columns; currently only used by several datasets - Zach
if self.sample_attribute_values:
sample.extra_attributes = self.sample_attribute_values.get(sample_name, {})
- logger.debug("sample.extra_attributes is", pf(sample.extra_attributes))
+ #logger.debug("sample.extra_attributes is", pf(sample.extra_attributes))
self.sample_list.append(sample)
diff --git a/wqflask/wqflask/show_trait/show_trait.py b/wqflask/wqflask/show_trait/show_trait.py
index 48d0faf5..18909dd5 100644
--- a/wqflask/wqflask/show_trait/show_trait.py
+++ b/wqflask/wqflask/show_trait/show_trait.py
@@ -525,7 +525,7 @@ def get_table_widths(sample_groups, has_num_cases=False):
def has_num_cases(this_trait):
has_n = False
- if this_trait.dataset.type != "ProbeSet":
+ if this_trait.dataset.type != "ProbeSet" and this_trait.dataset.type != "Geno":
for name, sample in this_trait.data.iteritems():
if sample.num_cases:
has_n = True
diff --git a/wqflask/wqflask/templates/collections/list.html b/wqflask/wqflask/templates/collections/list.html
index e6e09449..3af4a4b9 100644
--- a/wqflask/wqflask/templates/collections/list.html
+++ b/wqflask/wqflask/templates/collections/list.html
@@ -37,7 +37,7 @@
-