{% macro compare_genotypes(genotype_pairs) %}
{% for rsnumber, genotype1, genotype2 in genotype_pairs %} {% if not genotype1.is_cool or not genotype1.is_cool %} {% set row_class = 'warning' %} {% elif genotype1 == genotype2 %} {% set row_class = 'success' %} {% else %} {% set row_class = 'danger' %} {% endif %}