aboutsummaryrefslogtreecommitdiff
path: root/wqflask
diff options
context:
space:
mode:
authorzsloan2021-08-23 19:29:38 +0000
committerzsloan2021-08-23 19:29:38 +0000
commit7546da17cc5b7a2f97b490e1593b41609b281a43 (patch)
tree4fbc7702c67689cbe72dfbf5cfbe17bda67048d6 /wqflask
parentfff90d1a1b194fe5e65e99506bc4fe6fffc9a255 (diff)
downloadgenenetwork2-7546da17cc5b7a2f97b490e1593b41609b281a43.tar.gz
Fixed issue with the way categorical_vars and perm_strata were being passed to the template
Diffstat (limited to 'wqflask')
-rw-r--r--wqflask/wqflask/templates/mapping_results.html6
1 files changed, 4 insertions, 2 deletions
diff --git a/wqflask/wqflask/templates/mapping_results.html b/wqflask/wqflask/templates/mapping_results.html
index 7baac000..81eb1ba1 100644
--- a/wqflask/wqflask/templates/mapping_results.html
+++ b/wqflask/wqflask/templates/mapping_results.html
@@ -45,8 +45,10 @@
<input type="hidden" name="num_perm" value="{{ nperm }}">
<input type="hidden" name="perm_info" value="">
{% if categorical_vars is defined %}
- <input type="hidden" name="categorical_vars" value="{{ categorical_vars }}">
- <input type="hidden" name="perm_strata" value="{{ perm_strata }}">
+ <input type="hidden" name="categorical_vars" value="{{ categorical_vars|join(',') }}">
+ {% endif %}
+ {% if perm_strata is defined %}
+ <input type="hidden" name="perm_strata" value="True">
{% endif %}
<input type="hidden" name="num_bootstrap" value="{{ nboot }}">
<input type="hidden" name="do_control" value="{{ doControl }}">