{% extends "master.html" %} {% import 'macros.html' as mcr %} {% set active_page = "allMetricResults" %} {% set run = runlist.getRun(runId) %} {% set metrics = run.metrics %} {% block moresidebar %} {% endblock %} {% block content %} {# Show all metric results, including summary stats in a table rather than per metric. #} {% set metricInfo = run.metricInfo() %} {% for g in run.groups.keys() %} {% set groupstart = True %} {% for sg in run.groups[g] %} {% if groupstart == True %} {% set groupstart = False %} {% endif %}

Group: {{g|escape}}; Subgroup: {{sg|escape}}

{% set subsetMetrics = run.metricsInSubgroup(g, sg) %}
{% for metric in subsetMetrics %} {% set metricInfo = run.metricInfo(metric) %} {% set metricPlots = run.plotsForMetric(metric) %} {# Only show anything here for this metric if it had plots #} {% if metricPlots|length > 0 %} {# Print the metric info #} {{ mcr.PrintMetricInfo(runId, metric, metricInfo) }} {# Add the plots for this metric #} {{ mcr.MakePlotTable(metricPlots, run) }}

{% set caption = run.captionForMetric(metric) %} {{ caption|escape }}

{% endif %} {% endfor %} {# Add a table with the summary stats for all the metrics in this subgroup #} {% set statNames = run.allStatNames(subsetMetrics) %} {{ mcr.MakeStatTable(subsetMetrics, g, sg, run) }}
{% endfor %} {% endfor %} {% endblock %}