aboutsummaryrefslogtreecommitdiff
path: root/wqflask
diff options
context:
space:
mode:
authorzsloan2021-05-07 19:45:29 +0000
committerzsloan2021-05-07 19:45:29 +0000
commit90c35a2a9285be21882a6db03e5aeb26f329f602 (patch)
tree2256bdeb12918627bb27d4044b0c27b3aa15e140 /wqflask
parentc8bd4e95c5e83d9f3d4cad2e1ab63dfdde0975f7 (diff)
downloadgenenetwork2-90c35a2a9285be21882a6db03e5aeb26f329f602.tar.gz
Display cofactors = None on the loading page if there are no cofactors
Diffstat (limited to 'wqflask')
-rw-r--r--wqflask/wqflask/templates/loading.html4
1 files changed, 3 insertions, 1 deletions
diff --git a/wqflask/wqflask/templates/loading.html b/wqflask/wqflask/templates/loading.html
index 1adeb2bd..3c443690 100644
--- a/wqflask/wqflask/templates/loading.html
+++ b/wqflask/wqflask/templates/loading.html
@@ -33,10 +33,12 @@
<br>
minor allele frequency lower limit = <b><i>{{ start_vars.maf }}</i></b>
{% endif %}
- {% if start_vars.covariates != "" and start_vars.method != "reaper" %}
<br>
+ {% if start_vars.covariates != "" and start_vars.method != "reaper" %}
{% set covariate_list = start_vars.covariates.split(",") %}
cofactors = <b><i>{% for covariate in covariate_list %}{% set this_covariate = covariate.split(":")[0] %}{{ this_covariate }}{% if not loop.last %}, {% endif %}{% endfor %}</i></b>
+ {% else %}
+ cofactors = <b><i>None</i></b>
{% endif %}
{% if start_vars.control_marker != "" and start_vars.do_control == "true" and start_vars.method != "gemma" %}
<br>