{% for frame in frames %}

[{% for tid in frame.tids %} {{ tid }} {% if not loop.last %} , {% endif %} {% endfor %}]

{% for slot in frame.slots %} {% endfor %} {% for slot in frame.slots %} {% endfor %} {% for slot in frame.slots %} {% endfor %}
{{ slot.functor }}
{% for sh in slot.shallows %} {{ sh }} {% if not loop.last %} , {% endif %} {% endfor %}
{% for tid in slot.tids %} {{ tid }} {% if not loop.last %} , {% endif %} {% endfor %}

{% endfor %}