aboutsummaryrefslogtreecommitdiff
path: root/wqflask
diff options
context:
space:
mode:
Diffstat (limited to 'wqflask')
-rw-r--r--wqflask/wqflask/show_trait/show_trait.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/wqflask/wqflask/show_trait/show_trait.py b/wqflask/wqflask/show_trait/show_trait.py
index d3267190..6892f02b 100644
--- a/wqflask/wqflask/show_trait/show_trait.py
+++ b/wqflask/wqflask/show_trait/show_trait.py
@@ -204,10 +204,10 @@ class ShowTrait(object):
self.negative_vals_exist = "true"
#ZS: Check whether any attributes have few enough distinct values to show the "Block samples by group" option
- self.categorical_attr_exists = False
+ self.categorical_attr_exists = "false"
for attribute in self.sample_groups[0].attributes:
if len(self.sample_groups[0].attributes[attribute].distinct_values) <= 10:
- self.categorical_attr_exists = True
+ self.categorical_attr_exists = "true"
break
sample_column_width = max_samplename_width * 8