Bugfix: stdev exception when only one test

This commit is contained in:
Vivek Santayana 2023-03-07 11:21:41 +00:00
parent 79ad96a93f
commit fed46eaa1e

View File

@ -55,7 +55,11 @@
<div class="input-group mb-3"> <div class="input-group mb-3">
<span class="input-group-text">Standard Deviation</span> <span class="input-group-text">Standard Deviation</span>
<span class="form-control"> <span class="form-control">
{{ analysis.scores.stdev|round(2) }} {% if analysis.scores.stdev %}
{{ analysis.scores.stdev|round(2) }}
{% else %}
{{ None }}
{% endif %}
</span> </span>
</div> </div>
<div class="input-group mb-3"> <div class="input-group mb-3">