diff options
author | zsloan | 2021-08-18 00:13:55 +0000 |
---|---|---|
committer | zsloan | 2021-08-19 18:38:54 +0000 |
commit | ab3b838b99b58693f3f187093e78f492e7cf392b (patch) | |
tree | f7f2f8ba4972040261a60f4ab8d096f87e002774 /wqflask | |
parent | 71e6c7483c8675e96376295927133c370478bbba (diff) | |
download | genenetwork2-ab3b838b99b58693f3f187093e78f492e7cf392b.tar.gz |
Exclude attributes with only one distinct value as well
Diffstat (limited to 'wqflask')
-rw-r--r-- | wqflask/wqflask/templates/show_trait_transform_and_filter.html | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/wqflask/wqflask/templates/show_trait_transform_and_filter.html b/wqflask/wqflask/templates/show_trait_transform_and_filter.html index 064fd3e5..8d21b0b0 100644 --- a/wqflask/wqflask/templates/show_trait_transform_and_filter.html +++ b/wqflask/wqflask/templates/show_trait_transform_and_filter.html @@ -25,7 +25,7 @@ <label for="exclude_column">Block samples by group:</label> <select id="exclude_column" size=1> {% for attribute in sample_groups[0].attributes %} - {% if sample_groups[0].attributes[attribute].distinct_values|length <= 10 %} + {% if sample_groups[0].attributes[attribute].distinct_values|length <= 10 and sample_groups[0].attributes[attribute].distinct_values|length > 1 %} <option value="{{ loop.index }}"> {{ sample_groups[0].attributes[attribute].name }} </option> |