{% extends "base.html" %} {% from 'macros.html' import code_with_search_link, display_file_list %} {% block title %}ReciPy - Run Details {% if active_page == 'latest_run' %} - Latest Run{% endif %} {% endblock %} {% block content %} {{ super() }}
{% with messages = get_flashed_messages(with_categories = true) %} {% if messages %}
{% for category, message in messages %} {% endfor %}
{% endif %} {% endwith %} {% if run %}

Run {{ run.unique_id | string | highlight(query) | safe }}

Click file names or hash codes to search.

{% if run.command_args | length > 0 %} {% endif %} {% if run.exception %} {% endif %} {% if run.libraries %} {% endif %} {% if run.warnings %} {% endif %}
Date {{ run.date }}
Author {{ run.author | highlight(query) | safe }}
Command {{ run.command | highlight(query) | safe }}
Script {{ code_with_search_link(run.script, query) }}
Command line arguments {{ run.command_args | highlight(query) | safe }}
Inputs {{ display_file_list(run.inputs, query, diffs=None) }}
Outputs {{ display_file_list(run.outputs, query, diffs) }}
Exception {{ run.exception.type }} {{ run.exception.message }} {% if run.exception.traceback %}
Traceback:
{{ run.exception.traceback | highlight(query) | safe }}
{% endif %}
Environment {{ run.environment | join(' ') | highlight(query) | safe }}
Libraries {{ run.libraries | join(' · ') | safe }}
Warnings
    {% for w in run.warnings %}
  • {{ w.message }} ({{ w.script }}, line {{ w.lineno }})
  • {% endfor %}
Notes
{{ annotateRunForm.run_id(value=run.eid) }}
{% if run.gitcommit %}

Git

{% if run.diff and run.diff | length > 0 %} {% else %} {% endif %}
Git Repo {{ run.gitrepo }} {% if run.gitorigin and run.gitorigin | length > 0 %} (online: {{ run.gitorigin | gitorigin2url | safe }}) {% endif %}
Git Origin {{ run.gitorigin }}
Git Commit {% if run.gitorigin and run.gitorigin | length > 0 %} {{ run.gitcommit | highlight(query) | safe }} {% else %} {{ run.gitcommit | highlight(query) | safe }} {% endif %}
Git diff {{ run.diff | colordiff | highlight(query) | safe }} No changes
{% endif %} {% if diffs | length > 0 %}

Output file diffs

{% for f in diffs %}

{{ f.filename }} diff

top
{% if f.diff %} {{ f.diff | colordiff | highlight(query) | safe }} {% else %} No changes. {% endif %}
{% endfor %} {% endif %} {% endif %} {% endblock %}