{% extends "repository/base.html" %} {% load i18n %} {% load markup %} {% block title %}{% trans "Repository" %} :: {% trans "Data" %} :: {% trans "Review" %} {{ object.name }}{% endblock %} {% block breadcrumbs %}{% trans "Repository" %} / {% trans "Data" %} / {% trans "Review" %}{% endblock %} {% block content %}

{% trans "Review of your data set" %} "{{ object.name }}"

{% trans "The Data item is not yet complete. Here you have a chance to review what the system has discovered about the uploaded Data file and modify the recognised file format. Press 'Looks good, proceed' to finalise the item or 'Go Back' to remove it from the repository and start anew." %}

{% if form.errors %}
{% trans "There had been errors, please see below" %}.
{% endif %}
{{ form.format.errors }}
{{ form.format }}
{% trans "Supported formats are: " %}{{ supported_formats }}. {% trans "These will be converted to" %} {% trans "our flavour of HDF5" %}{% trans ", if possible" %}.
{% trans "Unsupported formats and failed conversions will be kept as is, but premium features are not available for these." %}
{% ifequal form.fields.format.initial "csv" %}
{{ form.attribute_names_first.errors }}
{{ form.attribute_names_first }}
{% trans "Check this if the first line contains the attribute names, not data. See the extract below for assistance." %}
{% endifequal %}
{{ form.seperator.errors }}
{{ form.seperator }}
{% trans "The seperator seperates the variables in the examples. Allowed values are ',', ' ' and '\t' (note: it might not be visible without selection in the text field)." %}
{% ifnotequal form.fields.format.initial "h5" %}
{{ form.convert.errors }}
{{ form.convert }}
{% trans "Uncheck this if you don't want the Data file to be converted." %}
{% endifnotequal %}

{% trans "Detected Information" %}

{% trans "Name" %}
{{ extract.name }}
{% trans "Version" %} mldata
{{ extract.mldata }}
{% trans "Comment" %}
{{ extract.comment }}
{% trans "Variable Names" %}
{% for name in extract.names %}{{ name }}, {% endfor %}
{% if extract.types %}
{% trans "Variable Types" %}
{% for type in extract.types %}{{ type }}, {% endfor %}
{% endif %}
{% trans "Extract of Examples" %}
    {% for d in extract.data %}
  1. {{ d|join:', ' }}
  2. {% endfor %}
{% endblock %}