Fractal Task Launcher
A napari plugin to install and run Fractal tasks locally on OME-Zarr images. Tasks can either be installed from the Fractal task catalog or from tarball files (.tar.gz).
Usage
Installation
The napari-fractal-tasks plugin requires pixi, which installs each task package in its own environment. Install pixi first; it is not installed together with the plugin.
To add the plugin to an existing napari, install napari-fractal-tasks from napari's plugin manager (Plugins > Install/Uninstall Plugins) or with pip:
pip install napari-fractal-tasks
To run the plugin from its source code instead, open the terminal and run the following commands:
git clone https://github.com/krentzd/napari-fractal-tasks
cd napari-fractal-tasks
pixi run napari
Running Fractal tasks
- Load task packages either from the Fractal task catalog, or upload your own local task as a
.tar.gzfile by clicking onManage packages. - Open an OME-Zarr file using the napari-ome-zarr plugin by drag-and-drop.
- Select and add a task from the
Taskwidget. Run your task on one image, several images or a whole plate, and interatively tune parameters of the task. - Explore different parameter settings interactively in the napari viewer. Results are written back to the OME-Zarr file and opened in the viewer once the task finishes.
- Export the parameters and directly load them into the fractal-server.
Tips
-
Parameter settings exported via the fractal-server can be directly imported for a given task.
-
Workflows can also run headless e.g. in a Jupyter notebook (see
examples). -
Restrict a task to a region of interest (ROI):
- Click Add Shapes Layer for ROI selection and draw a polygon.
- Name the table under ROI Table Name (select Overwrite to replace an existing one).
- Click Save ROIs to table.
Notes:
- Requires Python 3.11+ or higher.
- First install of a task package can take several minutes. Installing the same version again reuses the cached environment and takes about a second.
- Disk space: each (package, version) is a separate environment. Everything lives in
~/.napari_fractal_tasks.
Test data
- Segmentation:
20200812-CardiomyocyteDifferentiation14-Cycle1_mip.zarr(Zenodo). - Registration:
220605_151046_mip.zarr(Zenodo), a two-cycle multiplexed plate (DAPI isA04_C01in both cycles).
Current limitations
Converter tasks are not supported. The data already needs to be in OME-Zarr file format.
How to cite
The prototype was started at the 2024 OME-NGFF workflows hackathon and developed further at the 2025 and 2026 hackathons.
@article{luthi20252024,
title={2024 OME-NGFF workflows hackathon},
author={L{\"u}thi, Joel and Albert, Marvin and Anita, Liviu and Babalola, Kola and Bennett, Davis and Bogovic, John A and Cerrone, Lorenzo and Dornier, R{\'e}my and Eglinger, Jan and Galinova, Vera and others},
year={2025},
publisher={OSF}
}
License
The code and text are under the MIT license.
Metadata
Release files for napari-fractal-tasks 0.1.2
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| napari_fractal_tasks-0.1.2.tar.gz | 165.5 kB | Without provenance | Details for napari_fractal_tasks-0.1.2.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| napari_fractal_tasks-0.1.2-py3-none-any.whl | Python 3 | none | any | Details for napari_fractal_tasks-0.1.2-py3-none-any.whl |
Total release size: 354.3 kB
Release files / napari_fractal_tasks-0.1.2.tar.gz
| Download URL | napari_fractal_tasks-0.1.2.tar.gz |
|---|---|
| Size | 165.5 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
97eb230f8a7828b45d962b2c4da7246bc9154bfbe3f435aec8db8993a6b182d8
|
|
BLAKE2b-256 checksum How to use checksums |
e59513067beba818d5d5a0b5872be159b0bfcd62178e9cc750a688e0b8d80153
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.15.2
|
Release files / napari_fractal_tasks-0.1.2-py3-none-any.whl
| Download URL | napari_fractal_tasks-0.1.2-py3-none-any.whl |
|---|---|
| Size | 188.9 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
b1a0de3a15d8a4ed3a44c88959a342c36b671a93b6efb08df40c2ca0e1be9e83
|
|
BLAKE2b-256 checksum How to use checksums |
f57d521fc920fae0e4ced353c85c56b3f675a71895eec10e82005439fa2ac7f8
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.15.2
|
Security for napari-fractal-tasks 0.1.2
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.