aboutsummaryrefslogtreecommitdiff
path: root/wqflask
diff options
context:
space:
mode:
authorzsloan2021-05-10 17:29:01 +0000
committerzsloan2021-05-10 17:29:01 +0000
commit06c24f18f27daa4e32a3041878b24bea5cc30ddc (patch)
tree6aa2a2db728f83826760f7e1f9eb47047368a764 /wqflask
parent90c35a2a9285be21882a6db03e5aeb26f329f602 (diff)
downloadgenenetwork2-06c24f18f27daa4e32a3041878b24bea5cc30ddc.tar.gz
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
Diffstat (limited to 'wqflask')
-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>