{% extends "base.html" %} {% block title %}{{ batch.name }} - SporeDB{% endblock %} {% block content %} {% set meta = batch.metadata_json | parse_json %} {% set tags = batch.tags_json | parse_json %} {# Breadcrumb #} {# Metadata card #}

{{ batch.name }}

Status
{{ batch.lifecycle | capitalize }}
Created
{{ batch.created_at.strftime('%Y-%m-%d %H:%M') if batch.created_at else '-' }}
{% if meta.get('strain') %}
Strain
{{ meta.strain }}
{% endif %} {% if meta.get('media') %}
Media
{{ meta.media }}
{% endif %} {% if meta.get('scale') %}
Scale
{{ meta.scale }}
{% endif %} {% if meta.get('operator') %}
Operator
{{ meta.operator }}
{% endif %}
{% if tags %}
Tags
{% if tags is iterable and tags is not mapping %} {% for tag in tags %} {{ tag }} {% endfor %} {% endif %}
{% endif %}
{# Time-series chart #}

Time Series

Loading chart...

Phase boundaries shown as vertical lines on chart.

{# Linked assay data #}

Linked Assay Data

{% if meta.get('assays') %}

Assay data linked to this batch.

{% else %}

No assay data available.

{% endif %}
{% endblock %} {% block scripts %} {% endblock %}