{% for key, value in processing_results|items %}

{{ key | upper() | replace(':', ' v') }}




{% for id, prov in value|items %} {% for output_name, qa_dict in prov.OutputQA|items %}

{{ output_name|replace('_',' ')|title() }}:

{% for filestr, qa_img in qa_dict|items %}
{{ filestr }}
{% if qa_img %}
{{ qa_img[2] }}
{% endif %}

{% endfor %}
{% endfor %}

ID: {{ prov.Id }}
Container:
{{ prov.Container.url }}
{{ prov.Container.hash }}
Built: {{ prov.Container.timestamp.strftime('%Y-%m-%d %H:%M:%S') }} by {{ prov.Container.builder }}
Run Info:
Started: {{ prov.StartTime }}
Duration: {{ prov.Duration }}
User: {{ prov.User }}
Inputs:
{% for key, value in prov.Inputs|items %} {% if value is iterable and value is not string %} {{ key }}:
{% for sub in value %} {% set val = sub.split(':') %}   - {{ val[0] }}
  [{{ val[1] }}:{{ val[2] }}]
{% endfor %} {% else %} {% set val = value.split(':') %} {{ key }}: {{ val[0] }}
  [{{ val[1] }}:{{ val[2] }}]
{% endif %} {% endfor %}
Outputs:
{% for key, value in prov.Outputs|items %} {% if value is iterable and value is not string %} {{ key }}:
{% for sub in value %} {% set val = sub.split(':') %}   - {{ val[0] }}
  [{{ val[1] }}:{{ val[2] }}]
{% endfor %} {% else %} {% set val = value.split(':') %} {{ key }}: {{ val[0] }}
  [{{ val[1] }}:{{ val[2] }}]
{% endif %} {% endfor %}
Parameters: {% if prov.Parameters is mapping %}
{% for key, value in prov.Parameters|items %} {% if value is iterable and value is not string %} {{ key }}:
{% for sub in value %}   - {{ sub }}
{% endfor %} {% else %} {{ key }}: {{ value }}
{% endif %} {% endfor %} {% else %} None {% endif %}
Command:
{{ prov.Command }}

{% endfor %}

{% endfor %}