1
0
mirror of https://github.com/ARM-software/workload-automation.git synced 2024-10-06 02:41:11 +01:00

ipynb_exporter: default template no longer shows a blank plot for workloads without summary_metrics

This commit is contained in:
Sebastian Goscik 2015-12-15 17:18:25 +00:00
parent 62a0fd70de
commit dc1b0e629e

View File

@ -25,7 +25,7 @@
"results = {",
{% for ir in result.iteration_results -%}
{% for metric in ir.metrics -%}
{% if metric.name in ir.workload.summary_metrics -%}
{% if metric.name in ir.workload.summary_metrics or not ir.workload.summary_metrics -%}
"\"{{ ir.spec.label }}_{{ ir.id }}_{{ ir.iteration }}_{{ metric.name }}\": {{ metric.value }}, ",
{%- endif %}
{%- endfor %}