{% extends "data_explorer/entries.html" %} {% block table_headers %} {% table_header "chembl_id" "ChEMBL ID" min_width=150 %} {% table_header "molecule_type" "Type" min_width=150 %} {% table_header "drug_likeness" "Drug Likeness" min_width=150 %} {% table_header "alog_p_chembl" "ALogP" min_width=100 %} {% table_header "rule_of_3_pass" "RO3 Pass" min_width=100 %} {% table_header "rule_of_5_violations" "RO5 Violations" min_width=125 %} {% table_header "num_h_acceptors_lipinski" "H-Acceptors" min_width=125 %} {% table_header "num_h_donors_lipinski" "H-Donors" min_width=125 %} {% table_header "natural_product_likeness" "NP Likeness" min_width=150 %} {% endblock %} {% block table_rows %} {% draw_molecule entry width=150 height=150 %} {% foreign_key_link entry "chembl_id" %} {{ entry.molecule_type|default:"--" }} {{ entry.drug_likeness|floatformat:2|default:"--" }} {{ entry.alog_p_chembl|floatformat:2|default:"--" }} {% if entry.rule_of_3_pass == True %} Yes {% elif entry.rule_of_3_pass == False %} No {% else %} -- {% endif %} {{ entry.rule_of_5_violations|default_if_none:"--" }} {{ entry.num_h_acceptors_lipinski|default_if_none:"--" }} {{ entry.num_h_donors_lipinski|default_if_none:"--" }} {{ entry.natural_product_likeness|floatformat:2|default:"--" }} {% endblock %}