Skip to main content

Fractal Task Launcher

napari-fractal-tasks logo

PyPI Python Version License MIT tests napari hub

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).

width=200

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

Watch the video

  1. Load task packages either from the Fractal task catalog, or upload your own local task as a .tar.gz file by clicking on Manage packages.
  2. Open an OME-Zarr file using the napari-ome-zarr plugin by drag-and-drop.
  3. Select and add a task from the Task widget. Run your task on one image, several images or a whole plate, and interatively tune parameters of the task.
  4. 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.
  5. 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):

    1. Click Add Shapes Layer for ROI selection and draw a polygon.
    2. Name the table under ROI Table Name (select Overwrite to replace an existing one).
    3. 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 is A04_C01 in 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.3

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for napari-fractal-tasks 0.1.3
File Size Uploaded Provenance Actions
napari_fractal_tasks-0.1.3.tar.gz 165.5 kB Without provenance Details for napari_fractal_tasks-0.1.3.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for napari-fractal-tasks 0.1.3
File Interpreter ABI Platform Actions
napari_fractal_tasks-0.1.3-py3-none-any.whl Python 3 none any Details for napari_fractal_tasks-0.1.3-py3-none-any.whl

Total release size: 354.4 kB

Release files / napari_fractal_tasks-0.1.3.tar.gz

Download URL napari_fractal_tasks-0.1.3.tar.gz
Size 165.5 kB
Tags Source
SHA-256 checksum
How to use checksums
dda2b7895774c03f42f929407f05be23be98f284a03453992e08482f12983c76
BLAKE2b-256 checksum
How to use checksums
3af7e6dd0c3d83f9795836ddd4b99129f4a99034c3c66c9e119e5e04f211cca7
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.3-py3-none-any.whl

Download URL napari_fractal_tasks-0.1.3-py3-none-any.whl
Size 188.9 kB
Tags Python 3
SHA-256 checksum
How to use checksums
93bdb44419b37a82cb219d84daefdf8fefd09ce40dcbe4de73088b3b54ea238d
BLAKE2b-256 checksum
How to use checksums
c74b9115cd2d2fb4d9e0d5d4fb99fd2c9aa963c67bea55e2bed73f224a5ed88f
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.3

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.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page