aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--wqflask/wqflask/templates/loading.html8
1 files changed, 6 insertions, 2 deletions
diff --git a/wqflask/wqflask/templates/loading.html b/wqflask/wqflask/templates/loading.html
index 3c443690..6d6136ac 100644
--- a/wqflask/wqflask/templates/loading.html
+++ b/wqflask/wqflask/templates/loading.html
@@ -44,9 +44,13 @@
<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>