{% extends 'base.html' %} {% block style %} {% endblock %} {% block content %} Plexora - New Project {# One form, three inputs. The format of the data file is detected server-side (/inspect_data), so there is no tab strip and no per-format duplicate of the name/image/mask fields. The two extra controls below are hidden until the file itself makes them necessary: a .zarr store with several tables, and a table spanning several images, cannot be read at all until the user picks one. Everything else the old import wizard asked for is either worked out from the file or asked for later, by whichever feature actually needs it. #}
New Project

Import Data

An image is all that is required. Add a segmentation mask and single-cell data now, or later from the project's Edit page.

{% if data.error %} {% endif %}
Please name the project.
Please provide a valid path to the image file.
{# A .zarr store is a directory and a .csv/.h5ad is a file, and one input takes both -- so the picker offers each in turn. #}
CSV, AnnData (.h5ad) or SpatialData (.zarr).
{# Shown only when the store holds more than one table. #} {# Which expression matrix to read is deliberately NOT asked here. It matters only to a plugin that reads marker intensities, so it is that plugin's requirement (Requires(features=True)) and the modal asks it -- along with whether to log-transform -- the first time such a tool opens. Importing an image is not the moment to answer a question about thresholding, and this form only asks what registering the project cannot proceed without. The layer names are still recorded from the inspection above, which is what lets the modal offer them without reopening the file. #} {# Shown only when the table spans several images. Loading them all would silently mix cells from different slides onto one image. #}
{% endblock %}