aboutsummaryrefslogtreecommitdiff
path: root/wqflask
diff options
context:
space:
mode:
authorzsloan2021-05-07 16:08:42 +0000
committerzsloan2021-05-07 16:08:42 +0000
commitc8bd4e95c5e83d9f3d4cad2e1ab63dfdde0975f7 (patch)
treeeee406e53de88722ccf5bdb3610cf1c837dad625 /wqflask
parent93cb2c7b2e5cabcf95a49fbdcddae8cc94563aa2 (diff)
downloadgenenetwork2-c8bd4e95c5e83d9f3d4cad2e1ab63dfdde0975f7.tar.gz
Check if num_bootstrap is in start_vars, since it won't exist for non-qtlreaper methods
Diffstat (limited to 'wqflask')
-rw-r--r--wqflask/wqflask/templates/loading.html2
1 files changed, 2 insertions, 0 deletions
diff --git a/wqflask/wqflask/templates/loading.html b/wqflask/wqflask/templates/loading.html
index d384a087..1adeb2bd 100644
--- a/wqflask/wqflask/templates/loading.html
+++ b/wqflask/wqflask/templates/loading.html
@@ -49,10 +49,12 @@
<br>
n of permutations = <b><i>{{ start_vars.num_perm }}</i></b>
{% endif %}
+ {% if num_bootstrap in start_vars %}
{% if start_vars.num_bootstrap | int > 0 and start_vars.method == "reaper" %}
<br>
n of bootstrap = <b><i>{{ start_vars.num_bootstrap }}</i></b>
{% endif %}
+ {% endif %}
{% else %}
<h1>Loading&nbsp;{{ start_vars.tool_used }}&nbsp;Results...</h1>
{% endif %}