Relations to {{ title }}
{% for relation in relations.values %}
{# Add Relation - Relatant Statements #}
{% if not relation.relation %}
MISSING RELATION TYPE:
{% if relation.relatant == 'MISSING OBJECT ITEM' %}
{{ relation.relatant }}
{% elif relation.relatant == 'not found' %}
SELECTED {{ class }} NOT FOUND IN {{ class }} SECTION
{% else %}
{{ relation.relatant }}
{% endif %}
{% elif relation.relatant == 'MISSING OBJECT ITEM' %}
{{ relation.relation.label }}: {{ relation.relatant }}
{% elif relation.relatant == 'not found' %}
{{ relation.relation.label }}: SELECTED {{ class }} NOT FOUND IN {{ class }} SECTION
{% else %}
{{ relation.relation.label }}: {{ relation.relatant }}
{% endif %}
{# Add Assumption Qualifiers #}
{% if relation.relation.key == 'specialized_by' or relation.relation.key == 'specializes' %}
{% if anchor == 'MM2MM' or anchor == 'CT2CT' or anchor == 'MF2MF_2' %}
- assumptions (general to special):
{% for val in relation.assumption.values %}
{% if val == 'not found' %}
SELECTED MATHEMATICAL EXPRESSION NOT FOUND IN MATHEMATICAL EXPRESSION SECTION
{% else %}
{{ val }}
{% endif %}
{% if not forloop.last %}
,
{% endif %}
{% empty %}
MISSING ASSUMPTIONS
{% endfor %}
{% endif %}
{% endif %}
{# Add Order Number Qualifiers #}
{% if anchor == 'CT2CT' %}
{% if relation.relation.key == 'contained_in_task' or relation.relation.key == 'contains_task' %}
- order number:
{% if relation.order %}
{{ relation.order }}
{% else %}
MISSING ORDER NUMBER
{% endif %}
{% endif %}
{% endif %}
{% empty %}
{% if empty_msg == "True" %}
MISSING {{ class }}
{% else %}
NOT DOCUMENTED
{% endif %}
{% endfor %}