{% extends "indra/template.html" %} {% block scripts %} {% endblock %} {% macro badges(src_counts) -%} {% if src_counts %} {% for _, color_dict in source_colors %} {% if loop.index0 > 0 %} | {% endif %} {% for src in color_dict['sources'].keys() %} {% if src_counts.get(src) %} {{ src_counts.get(src) }} {% endif %} {% endfor %} {% endfor %} {% endif %} {%- endmacro %} {% block header_desc %} This page allows you to curate the loaded statements. For more information please see the manual. {% endblock %} {% block body %}

Statements

{% if source_key_dict %}
{{ source_colors[0][0] }}
{{ badges(source_key_dict) }}
{{ source_colors[1][0] }}
{% endif %}
{% for results in stmt_data.values() %} {% set i_pair = loop.index0 %} {% if stmt_data.values()|length > 1 %}
{{ results['label'] }}
{{ badges(results['source_counts']) }}
{% else %}
{% endif %}
{% for group_dict in results['stmts_formatted'] %} {% set i_type = loop.index0 %} {% if results['stmts_formatted']|length > 1 %}
{{ group_dict['short_name'] }}
{{ badges(group_dict['src_counts']) }}
{% else %}
{% endif %}
{% for stmt_info in group_dict['stmt_info_list'] %} {% set i_stmt = loop.index0 %}
{{ stmt_info['english'] }} {{ stmt_info['evidence_count'] }}
{{ badges(stmt_info['source_count']) }}
{% for ev in stmt_info['evidence'] %}
{{ ev['source_api'] }}
{% if ev['text'] %} "{{ ev['text'] }}" {% else %} No evidence text available {% endif %}
{% if ev['pmid'] %} {{ ev['pmid'] }} {% elif 'pmid' in ev['text_refs'] and ev['text_refs']['pmid'] %} {{ ev['text_refs']['pmid'] }} {% endif %} {% if 'pmcid' in ev['text_refs'] and ev['text_refs']['pmcid'] %} | PMC {% endif %} {% if 'doi' in ev['text_refs'] and ev['text_refs']['doi'] %} | DOI {% endif %}
{% endfor %}
{% endfor %}
{% endfor %}
{% endfor %} {% endblock %}