{# The Calculations tab: every calculation of this system, one row each. One table rather than a tab per final state. The rows only ever differed in which parameters they showed, and splitting them meant the calculation you were looking for was as likely to be behind the other tab as in front of you. Casida ticks the ones that carry excited states, which is what the split was really saying. #}
{% set ns = namespace(previous_xc='') %} {% for option in options %} {% set is_new_group = option.xc_functional != ns.previous_xc %} {% set ns.previous_xc = option.xc_functional %} {% endfor %}
ID XC Functional Basis Set Code Charge Spin Casida Legacy
{{ option.id }} {{ option.xc_functional if is_new_group else '' }} {{ option.basis_set }} {{ option.code }} {{ option.charge }} {{ option.spin }} {% if option.excitation_count %}{% endif %} {{ option.legacy_id if option.legacy_id is not none }}