{% extends "base.html" %} {% from "_macros.html" import collapse_card_start, collapse_card_end %} {% block content %}

State Overview

{{ collapse_card_start("States", show=True, data_count=states_grouped_by_label|length)}} {% for workflow in workflows %} {% endfor %} {% for label, states in states_grouped_by_label.items() %} {%set count = [] %} {% for workflow in workflows %} {% endfor %} {% endfor %}
label {{workflow.label}}Total
{% for (state, _) in states %} {% if state.workflow.id == workflow.id %} {% if state.experiments|length %} {{state.experiments|length }} {% if count.append(state.experiments|length) %}{% endif %} {% endif %} {% endif %} {% endfor %} {{count|sum()}}
{{ collapse_card_end("States") }} {% endblock %}