diff options
author | zsloan | 2021-05-07 16:08:42 +0000 |
---|---|---|
committer | zsloan | 2021-05-07 16:08:42 +0000 |
commit | c8bd4e95c5e83d9f3d4cad2e1ab63dfdde0975f7 (patch) | |
tree | eee406e53de88722ccf5bdb3610cf1c837dad625 | |
parent | 93cb2c7b2e5cabcf95a49fbdcddae8cc94563aa2 (diff) | |
download | genenetwork2-c8bd4e95c5e83d9f3d4cad2e1ab63dfdde0975f7.tar.gz |
Check if num_bootstrap is in start_vars, since it won't exist for non-qtlreaper methods
-rw-r--r-- | wqflask/wqflask/templates/loading.html | 2 |
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 {{ start_vars.tool_used }} Results...</h1> {% endif %} |