From 06c24f18f27daa4e32a3041878b24bea5cc30ddc Mon Sep 17 00:00:00 2001
From: zsloan
Date: Mon, 10 May 2021 17:29:01 +0000
Subject: Change loading.html to write genotype filename even when there was no
selection for it, and also to have 'genotype file' be lowercase to match all
other metadata labels
---
wqflask/wqflask/templates/loading.html | 8 ++++++--
1 file 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 @@
marker covariate = {{ start_vars.control_marker }}
{% endif %}
- {% set genofile_desc = start_vars.genofile.split(":")[1] %}
- Genotype File = {{ genofile_desc }}
+ {% if start_vars.genofile != "" %}
+ {% set genofile_desc = start_vars.genofile.split(":")[1] %}
+ genotype file = {{ genofile_desc }}
+ {% else %}
+ genotype file = {{ start_vars.group[0] | upper }}{{ start_vars.group[1:] }}.geno
+ {% endif %}
{% if start_vars.num_perm | int > 0 and start_vars.method != "gemma" %}
n of permutations = {{ start_vars.num_perm }}
--
cgit v1.2.3