{% extends "framework_modern.html" %} {% block content %} {% block action_modals %} {% include "modals/objects/edit_rule_modal.html" %} {% include "modals/objects/generic_set_aliases_modal.html" %} {% include "modals/objects/generic_set_scenario_modal.html" %} {% include "modals/objects/generic_copy_object_modal.html" %} {% include "modals/objects/generic_delete_modal.html" %} {% endblock action_modals %}

{{ rule.name }}

{{ rule.description }}

{% if rule.aliases %}
Aliases
{% endif %}
Image Representation
{{ rule.as_svg|safe }}
SMIRKS Representation

{{ rule.smirks }}

Reactant SMARTS

{{ rule.reactants_smarts }}

{% if rule.reactant_filter_smarts %}
Reactant Filter SMARTS

{{ rule.reactant_filter_smarts }}

{% endif %}
Products SMARTS

{{ rule.products_smarts }}

{% if rule.product_filter_smarts %}
Product Filter SMARTS

{{ rule.product_filter_smarts }}

{% endif %} {% if rule.parallelrule_set.all %}
Included in Composite Rules
{% endif %} {% if rule.scenarios.all %}
Scenarios
{% endif %} {% if rule.related_reactions %}
Reactions
{% endif %} {% if rule.related_pathways %}
Pathways
{% endif %} {% if rule.enzymelinks %}
EC Numbers
{% for k, v in rule.get_grouped_enzymelinks.items %} {% endfor %}
{% endif %}
{% endblock content %}