{% set item = child %} {% set can_process = (current_user.is_authenticated and item.processors) %}
  • {{ processor[child.type].name if child.type in processors else "(Deprecated analysis) " + child.type }}

    {% if not child.is_finished() %}

    {{ processors[child.type].name if child.type in processors else "(Deprecated analysis) " + child.type }}

    {% if child.is_finished() and child.num_rows > 0 %} {{ "{:,}".format(child.num_rows) }} item{% if child.num_rows != 1 %}s{% endif %}, {{ processors[child.type].extension if child.type in processors else "download" }} {% else %} {% if child.is_finished() %}No results. {{ child.status }}{% else %}{{ child.status }}{% endif %} {% endif %} {% for option in child.parameters %} {% if child.type in processors and "options" in processors[child.type] and option in processors[child.type].options %} {% if processors[child.type].options[option].type == "toggle" %} {% if child.parameters[option] %}{{ option }}{% endif %} {% else %} {{ option }}={{ child.parameters[option] }}{% endif %} {% endif %} {% endfor %}

    {% if child.num_rows == 0 or not item.is_finished() %}
    {% else %} {% if item.is_finished() %}

    {{ processors[item.type].description if item.type in processors else "This analysis module has been deprecated but you can still download the result." }}

    {% if child.num_rows > 0 and child.type in processors and processors[child.type].extension in ("jpg", "jpeg", "png", "csv", "html", "svg") %}
    {% if processors[child.type].extension == "html" %} {% elif processors[child.type].extension in ("png", "jpg", "jpeg", "gif") %} {% elif processors[child.type].extension == "csv" %} {% elif processors[child.type].extension == "svg" %} {% endif %}
    {% endif %}

    {% if item.type in processors and item.get_version_url("backend/processors/" + processors[item.type].file) %}

    {% endif %} {% if can_process %}

    Further analysis modules

      {% for processor in item.processors.values() %} {% set dataset = item %} {% set inline = true %} {% include "processor-details.html" %} {% set inline = false %} {% endfor %}
    {% endif %}
    {% endif %} {% endif %}