From c8bd4e95c5e83d9f3d4cad2e1ab63dfdde0975f7 Mon Sep 17 00:00:00 2001
From: zsloan
Date: Fri, 7 May 2021 16:08:42 +0000
Subject: Check if num_bootstrap is in start_vars, since it won't exist for
non-qtlreaper methods
---
wqflask/wqflask/templates/loading.html | 2 ++
1 file changed, 2 insertions(+)
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 @@
n of permutations = {{ start_vars.num_perm }}
{% endif %}
+ {% if num_bootstrap in start_vars %}
{% if start_vars.num_bootstrap | int > 0 and start_vars.method == "reaper" %}
n of bootstrap = {{ start_vars.num_bootstrap }}
{% endif %}
+ {% endif %}
{% else %}