{% extends "base.html" %} {% block title %}Reduction job #{{ run.title|default:"null" }}{% endblock %} {% load colour_table_row %} {% load natural_time_difference %} {% load replace %} {% load naturaltime from humanize %} {% load generate_run_link %} {% load static %} {% block body %} {% if interactive_plots %} {% endif %} {% if not run %}
Reduction run not found or error encountered: {{ message }}.
{% else %} Reduction Job #{{ run.title }}

Reduction Job #{{ run.title }}

{% if is_rerun %}

(This run has been re-reduced, see history)

{% endif %}
{% if plot_error_message %}

{{ plot_error_message }}

{% else %} {% if static_plots %}
{% for plot_file in static_plots %} {% if static_plots|length == 1 %} Plot image stored at {{ plot_file }} {% else %} Plot image stored at {{ plot_file }} {% endif %} {% endfor %}
{% endif %} {% if interactive_plots %}
{% for name, data in interactive_plots.items %}
{% endfor %}
{% endif %} {% endif %} {% if run.message %} {% if is_skipped %} {% else %} {% endif %} {% endif %}
{% if run.run_description %} Run description: {{ run.run_description }} {% endif %}
{% if started_by is not null %} Started by: {{ started_by }} {% endif %}
Status: {{ run.status.value_verbose }}
Instrument: {{ run.instrument.name }}
Last Updated: {{ run.last_updated }}
Start: {% if run.started %} {{ run.started }} {% elif is_skipped %} Not run {% else %} Not yet started {% endif %}
Finish: {% if is_skipped %} Not run {% elif run.finished %} {{ run.finished }} {% else %} Not yet finished {% endif %}
Duration: {% if run.started and run.finished %} {% natural_time_difference run.started run.finished %} {% elif is_skipped %} Not run {% else %} Not yet finished {% endif %}
Software used: {% if run.software is not null %} {{ run.software.name }} - {{ run.software.version }} {% else %} No software data found {% endif %}
Data: {% if data_location %} {{ data_location }} {% else %} No data found {% endif %}
Host: {{ run.reduction_host }}
Reduced: {% if reduction_location %} {{ reduction_location }}
{% elif run.reduction_location.all %} {% for location in run.reduction_location.all %} {{ location.file_path }}
{% endfor %} {% else %} No reduced data found {% endif %}
{% if not is_skipped %} {% endif %}
{% autoescape on %} {% include "snippets/run_variables.html" with run_number=run_number run_version=run_version has_reduce_vars=has_reduce_vars run=run standard_variables=standard_variables advanced_variables=advanced_variables variable_help=variable_help instrument=instrument %} {% endautoescape %}
Back to {{ run.instrument.name }} runs Newest {{ newest_run }}
{% include 'snippets/run_summary/history.html' with history=history started_by=started_by %} {% include 'snippets/run_summary/reduction_log.html' with run=run %} {% endif %} {% endblock %} {% block stylesheets %} {% endblock %} {% block scripts %} {% endblock %}