{% extends "admin/base_site.html" %} {% load i18n %} {% block extrahead %} {% endblock %} {% block breadcrumbs %} {% endblock %} {% block content %}

Step {{ wizard.steps.step1 }} of {{ wizard.steps.count }}

This tool assists you with importing data into your CATMAID instance. To identify potentially new projects, the tool will look at the files and folders in a working directory. If a sub-directory in the working directory contains a project file (project.yaml), it is treated as a potential project. Please consult the manual to get an idea how such a project file is structured and how the importer expects the data to be laid out.

The working directory is defined in the settings as {{ datafolder_setting }} and can be adjusted with the settings below. Additionally, you can define a default base URL to be used as default in this dialog with the help of the {{ base_url_setting }} setting. It should make your data (working) directory asscessible from the web.


{% if datafolder_missing %}

Unfortunately, this setting couldn't be found in your configuration. Please make sure it is there.

{% else %}

The following settings have been found: {% if base_url_setting_missing %} {% else %} {% endif %}
{{ datafolder_setting }} {{ settings.CATMAID_IMPORT_PATH }}
{{ base_url_setting }}not set{{ settings.CATMAID_IMPORT_URL }}

First you can narrow down the set of folders looked at. With the relative path setting below you can specify a sub-directory below the import path to be the working directory. If left empty, just the {{ datafolder_setting }} setting will be used. You can filter the projects used by specifying a filter term (a regular expression).

{% csrf_token %}

{{ wizard.management_form }} {% if wizard.form.forms %} {{ wizard.form.management_form }} {% for form in wizard.form.forms %} {{ form.as_table }} {% endfor %} {% else %} {{ wizard.form.as_table }} {% endif %}

{% if wizard.steps.prev %} {% endif %}

{% endif %}
{% endblock %}