From 1c3d2ce38c10ec48b88e9246c1f13955056ef096 Mon Sep 17 00:00:00 2001 From: Luis Aleixo Date: Tue, 15 Mar 2022 13:38:53 +0000 Subject: [PATCH] bug fix on short range options --- cara/apps/templates/base/calculator.report.html.j2 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cara/apps/templates/base/calculator.report.html.j2 b/cara/apps/templates/base/calculator.report.html.j2 index 52397a84..d7d3e1d1 100644 --- a/cara/apps/templates/base/calculator.report.html.j2 +++ b/cara/apps/templates/base/calculator.report.html.j2 @@ -89,7 +89,7 @@ {% endblock report_summary_footnote %}

* The results are based on the parameters and assumptions published in the CERN Open Report CERN-OPEN-2021-004.

- {% if (form.short_range_option == "short_range_yes") and (concentrations|max|int != short_range_concentrations|max|int ) %} + {% if (form.short_range_option == "short_range_yes" and concentrations|length > 0 and concentrations|max|int != short_range_concentrations|max|int ) %} {% endif %}