about summary refs log tree commit diff
path: root/wqflask
diff options
context:
space:
mode:
Diffstat (limited to 'wqflask')
-rw-r--r--wqflask/wqflask/templates/loading.html12
1 files changed, 9 insertions, 3 deletions
diff --git a/wqflask/wqflask/templates/loading.html b/wqflask/wqflask/templates/loading.html
index 1adeb2bd..6d6136ac 100644
--- a/wqflask/wqflask/templates/loading.html
+++ b/wqflask/wqflask/templates/loading.html
@@ -33,18 +33,24 @@
           <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>
           marker covariate = <b><i>{{ start_vars.control_marker }}</i></b>
           {% endif %}
-          {% set genofile_desc = start_vars.genofile.split(":")[1] %}
           <br>
-          Genotype File = <b><i>{{ genofile_desc }}</i></b>
+          {% if start_vars.genofile != "" %}
+          {% set genofile_desc = start_vars.genofile.split(":")[1] %}
+          genotype file = <b><i>{{ genofile_desc }}</i></b>
+          {% else %}
+          genotype file = <b><i>{{ start_vars.group[0] | upper }}{{ start_vars.group[1:] }}.geno</i></b>
+          {% endif %}
           {% if start_vars.num_perm | int > 0 and start_vars.method != "gemma" %}
           <br>
           n of permutations = <b><i>{{ start_vars.num_perm }}</i></b>