{% include "core/base_data_types/structure.html" %}
{% if table_entry.is_invalid_structure %} {% endif %}

{{ table_entry.formula_reduced|chemical_formula|default:"--" }}

{% if table_entry.spacegroup %} {{ table_entry.spacegroup.crystal_system|title }} {% endif %}
{% button_link label="View on OQMD" link=table_entry.external_link theme="outline-primary" small=True open_in_new=True %}
Energy
Total energy
{% if table_entry.energy_per_atom is not None %} {{ table_entry.energy_per_atom|floatformat:3 }} eV/atom
Final DFT energy calculated by OQMD.
{% else %} -- {% endif %}
{% include "core/base_data_types/structure_summary.html" %}