{% 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|length)}} {% for workflow in workflows %} {% endfor %} {% for state in states %} {%set count = [] %} {% for workflow in workflows %} {% endfor %} {% endfor %}
label {{workflow.label}}Total
{{state.label}} {% if state.workflow.id == workflow.id %} {% if state.experiments|length %} {{state.experiments|length }} {% if count.append(state.experiments|length) %}{% endif %} {% endif %} {% else %} {% for rstate in repeated_states %} {% if rstate.label == state.label and rstate.workflow.id == workflow.id %} {% if rstate.experiments|length > 0 %} {{ rstate.experiments|length}} {% if count.append(rstate.experiments|length) %}{% endif %} {% endif %} {% endif %} {% endfor %} {% endif %} {{count|sum()}}
{{ collapse_card_end("States") }} {% endblock %}