aboutsummaryrefslogtreecommitdiff
path: root/wqflask
diff options
context:
space:
mode:
authorzsloan2019-10-17 15:28:05 -0500
committerzsloan2019-10-17 15:28:05 -0500
commitf35376bc9a44bf3a87a860a8aab00c3f091970ff (patch)
treeb52d70d6da9d8143cdb82c0e40e03b9e355b9618 /wqflask
parentf7de6d95543a1ded140b08ff280c2c8c5a9a8818 (diff)
downloadgenenetwork2-f35376bc9a44bf3a87a860a8aab00c3f091970ff.tar.gz
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
Diffstat (limited to 'wqflask')
-rw-r--r--wqflask/wqflask/show_trait/SampleList.py2
-rw-r--r--wqflask/wqflask/show_trait/show_trait.py2
-rw-r--r--wqflask/wqflask/templates/collections/list.html2
3 files changed, 3 insertions, 3 deletions
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 @@
<button class="btn btn-danger" id="remove_collections" data-url="/collections/delete">Remove Collections</button>
</div>
<br>
- <div id="collections_list" style="width:50%;">
+ <div id="collections_list" style="width:50%; margin-top: 20px; margin-bottom: 20px;">
<table class="table-hover table-striped cell-border" id='trait_table'>
<thead>
<tr>