{% extends "base.html" %} {% block style %} {% endblock %} {% block content %}
{% if result %}
Ingredient -- {{ result.name }}
Formula
{{ result.formula }}
PubChem ID
{% ifequal result.pubchem_id 'Not Available' %} Not Available {% else %} {% for id in result.pubchem_ids %} {{ id }} {% endfor %} {% endifequal %}
SMILE
{{ result.smile_string }}
Structure
{% ifequal result.pubchem_id 'Not Available' %} Not Available {% else %} NA {% endifequal %}
Related Targets
{% if result.targets %}
Confidence Score Cutoff (>=0)
{% else %}
Sorry, there's no related targets information
{% endif %}
Related Herbs
{% if result.herbs %} {% for herb in result.herbs %} {{ herb.name }} {% endfor %} {% else %}
Sorry, there's no related herbs information
{% endif %}
Related Links
{% if result.links %}
{% for link in result.links %} {% endfor %}
Ingredient Name Link
{{ link.name }} {{ link.ingredient_link }}
{% else %}
Sorry, there's no related links information
{% endif %}
Ingredient-Targets Network
{% if result.targets %} {% else %}
Sorry, there's no related ingredient-targets network
{% endif %}
Ingredient-Targets-Drug-Disease Network
{% if result.targets %} {% else %}
Sorry, there's no related ingredient-targets-drug-disease Network
{% endif %}
{% endif %}
{% endblock %}