From fed46eaa1e6e9ad0c1607135468801b7cc6c07dc Mon Sep 17 00:00:00 2001 From: Vivek Santayana Date: Tue, 7 Mar 2023 11:21:41 +0000 Subject: [PATCH] Bugfix: stdev exception when only one test --- ref-test/app/analysis/templates/analysis/analysis.html | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/ref-test/app/analysis/templates/analysis/analysis.html b/ref-test/app/analysis/templates/analysis/analysis.html index 33aad9d..39876d2 100644 --- a/ref-test/app/analysis/templates/analysis/analysis.html +++ b/ref-test/app/analysis/templates/analysis/analysis.html @@ -55,7 +55,11 @@
Standard Deviation - {{ analysis.scores.stdev|round(2) }} + {% if analysis.scores.stdev %} + {{ analysis.scores.stdev|round(2) }} + {% else %} + {{ None }} + {% endif %}