{% extends 'base.html' %} {% set active_page = "search" %} {% block main %}

SMILES Search

Get Compound SMILES through PubChem.

{% include 'flash_messages.html' %} {{ form.csrf_token }}
{{ form.query.label }} {{ form.query(class="form-control")}}

{% if result %}

Search Results

{% for x in range(result|length) %}
CID: {{result[x]["CID"]}}

Canonical SMILES: {{result[x]["CanonicalSMILES"]}}

Isomeric SMILES: {{result[x]["IsomericSMILES"]}}

2D Fingerprint {{result[x]["Fingerprint2D"]}}

{% endfor %} {% endif %} {% endblock %}