{% extends 'asr/database/templates/layout.html' %}
{% set n1, n2, n3 = d.size %}
{% macro help(description) %}
{% endmacro %}
{% macro entry(data) %}
{# Associate help with data entry #}
{% if data.description %}
{{ data.value|safe }} {{ help(data.description|replace("\n","
")) }}
{% else %}
{{ data|safe }}
{% endif %}
{% endmacro %}
{% macro atoms() %}
{% if row.numbers|length %}
| Axis | x (Å) | y (Å) | z (Å) | Periodic |
|---|---|---|---|---|
| {{ loop.index }} | {% for a in axis %}{{ a }} | {% endfor %}{{ row.pbc[loop.index0] }} |
| Lengths (Å): | {% for L in d.lengths %}{{ L }} | {% endfor %}
| Angles (°): | {% for a in d.angles %}{{ a }} | {% endfor %}
| {{ title|safe }} | {% endfor %}
|---|
| {{ entry(value) }} | {% endfor %}