This issue is meant as an overview for the effort to transition fractal-tasks-core to use ngio.
The overall strategy is:
Add an ngio dependency to fractal-tasks-core
Start using ngio in different tasks until all tasks depend on ngio for OME-Zarr reading & writing, label reading & writing & table reading & writing
Deprecate the respective library functions in fractal-tasks-core
Release a fractal-tasks-core 2.0.0 version where we remove those library functions
Nomenclature below: Top-level TODOs are the tasks. Fix sub-items are must fix issues in the task: We want to see that the ngio refactor fixes this issue. Review sub-items are minor issues we may be able to tackle during the refactor.
This issue is meant as an overview for the effort to transition fractal-tasks-core to use ngio.
The overall strategy is:
Nomenclature below: Top-level TODOs are the tasks. Fix sub-items are must fix issues in the task: We want to see that the ngio refactor fixes this issue. Review sub-items are minor issues we may be able to tackle during the refactor.
Tasks to transition to using ngio:
Converters
Tasks that write new OME-Zarr images
NgffImageMeta
usage with ngio (load_NgffImageMeta
)NgffImageMeta
usage with ngio (load_NgffImageMeta
)write_registered_zarr
, replace metadata access & image loading & writing with ngiowrite_registered_zarr
, replace pyramid building with ngioTasks that write tables
Other tasks:
_process_single_image
: Replace use ofNgffImageMeta
usage with ngio_process_single_image
: Replace ROI copying & table writing functionality with ngioNot a goal for the moment: Handle the well & plate metadata with ngio
Currently blocked because we're waiting for feature X in ngio
Waiting for masking ROI writing
Task with other goals
Additional issues:
Deprecate
prepare_label_group
: https://github.com/fractal-analytics-platform/fractal-tasks-core/issues/634is_ROI_table_valid
: https://github.com/fractal-analytics-platform/fractal-tasks-core/issues/633get_pixel_sizes_zyx
: https://github.com/fractal-analytics-platform/fractal-tasks-core/issues/577Issues Joel needs to review further
Not sure yet what exactly is needed now to close these issues
Issues related to ngio that should get tackled later (e.g. after 2.0.0 release):