                  <tr>
                        <td class="small">
                            % if len(anomalies[anomaly_name]):
                            <a href="#anom_type_${i}">${anomaly_name}</a>
                            % else:
                            ${anomaly_name}
                            % endif
                        </td>
                        <td class="small .text-centered">${len(anomalies[anomaly_name])}</td>
                    </tr>
                % endfor
                % 