Fractal is a framework developed at the BioVisionCenter to process bioimaging data at scale in the OME-Zarr format and prepare the images for interactive visualization. Find more information about Fractal in general and the other repositories at the Fractal home page.
This repository includes a mock package of Fractal tasks, which is meant to used as a test/example case in:
- The
fractal-task-toolsfeature for generating the task-package manifest and the JSON schemas for arguments of each specific task. - The
fractal-webfeature that generates UI components based on a task-arguments JSON schema, see sandboxes at https://fractal-analytics-platform.github.io/fractal-web/sandbox-pages.
- Prepare a virtual environments and install the project:
uv venv
uv sync- Generate the manifest via
uv run fractal-manifest create --package example-tasks
and find the generated manifest file at src/example_tasks/__FRACTAL_MANIFEST__.json. This file can be uploaded to https://fractal-analytics-platform.github.io/fractal-web/sandbox/#task-manifest, to review how fractal-web would render the user interface to edit task arguments.
3. Make a change in the call signature of a task (e.g. in src/example_tasks/task1_scalars.py) and re-generate the manifest. Then review how it would be rendered.
4. Extract single-task JSON schema from the manifest via
uv run ./single_json_schemas/extract.py
which generates JSON schema files in the single_json_schemas/ folder. Then review the corresponding fractal-web user-interface at https://fractal-analytics-platform.github.io/fractal-web/sandbox/#jschema, where you can also interactively edit the JSON Schema until you reach the expected result.
The Fractal project is developed by the BioVisionCenter at the University of Zurich, who contracts eXact lab S.r.l. for software engineering and development support.
Unless otherwise specified, Fractal components are released under the BSD 3-Clause License, and copyright is with the BioVisionCenter at the University of Zurich.