{% set vars = {'is_first': True} %} {% for item in range(all_stats_dicts["GENOMETOOLS_GT_STAT"]|length) %} {% set active_text = 'display: block' if vars.is_first else 'display: none' %}
{{ all_stats_dicts['GENOMETOOLS_GT_STAT'][item]['hap'] }}
{{ all_stats_dicts['GENOMETOOLS_GT_STAT'][item]['report_table_html'] }}
{% if vars.update({'is_first': False}) %} {% endif %} {% endfor %}