diff options
author | zsloan | 2021-05-07 19:45:29 +0000 |
---|---|---|
committer | zsloan | 2021-05-07 19:45:29 +0000 |
commit | 90c35a2a9285be21882a6db03e5aeb26f329f602 (patch) | |
tree | 2256bdeb12918627bb27d4044b0c27b3aa15e140 /wqflask | |
parent | c8bd4e95c5e83d9f3d4cad2e1ab63dfdde0975f7 (diff) | |
download | genenetwork2-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.html | 4 |
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> |