{# Browsable projection of what the selected profile becomes in SEEK: the Sample Types (with columns) provisioning will create, and the Extended Metadata the Investigation/Study/Assay records carry. Read-only — nothing here writes to SEEK. Rendered on page load and re-fetched by the profile / version dropdowns via HTMX. #} {% if preview %} {% if swap_label %} {# Rendered by the HTMX preview route: the profile changed, so the step-1 button must say what provisioning does for THIS profile. #} {{ "Set up Controlled Vocabularies" if preview.template_bound else "Set up Sample Types" }} {% endif %}
Each entity names the ISA Template its Sample Types are built from at sync time; the ISA tag says what role a column plays in the export.
{% endif %} {% for st in preview.sample_types %}| column | type | {% if preview.template_bound %}ISA tag | {% endif %}required |
|---|---|---|---|
| {{ a.name }} | {{ a.type }}{% if a.controlled_vocabulary %} (controlled vocabulary){% endif %} | {% if preview.template_bound %}{{ a.isa_tag or "" }} | {% endif %}{{ "yes" if a.required else "" }} |
This profile creates no Sample Types.
{% endfor %}Custom fields on the Investigation, Study and Assay records — added by a SEEK admin from the .ttl below.
{% for em in preview.extended_metadata %}| field | type | required |
|---|---|---|
| {{ a.name }} | {{ a.type }}{% if a.controlled_vocabulary %} (controlled vocabulary){% endif %} | {{ "yes" if a.required else "" }} |
Only SEEK's own record fields — no Extended Metadata.
{% endif %}No model preview available for this profile.
{% endif %}