diff --git a/templates/model_quality.html b/templates/model_quality.html index b45411dd..cde1e4ab 100644 --- a/templates/model_quality.html +++ b/templates/model_quality.html @@ -46,8 +46,15 @@

{% if molp_a|length > 1 %} - There are {{ angle|int }} angle outliers in this entry ({{ "%.1f"|format(angle / total_angles * 100) }}% of all angles). A summary is provided below, and a detailed list of outliers can be found here. - + {% if total_angles|int > 1 %} + + There are {{ angle|int }} angle outliers in this entry ({{ "%.1f"|format(angle / total_angles * 100) }}% of all angles). A summary is provided below, and a detailed list of outliers can be found here. + + {% else %} + + There are {{ angle|int }} angle outliers in this entry. A summary is provided below, and a detailed list of outliers can be found here. + + {% endif %}

{{ write_table(molp_a) }}