ngio 0.5.0a1__tar.gz → 0.5.0a3__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {ngio-0.5.0a1 → ngio-0.5.0a3}/.github/workflows/build_docs.yml +1 -1
- {ngio-0.5.0a1 → ngio-0.5.0a3}/.github/workflows/ci.yml +6 -5
- {ngio-0.5.0a1 → ngio-0.5.0a3}/CHANGELOG.md +28 -0
- {ngio-0.5.0a1 → ngio-0.5.0a3}/PKG-INFO +8 -4
- {ngio-0.5.0a1 → ngio-0.5.0a3}/pyproject.toml +15 -4
- {ngio-0.5.0a1 → ngio-0.5.0a3}/src/ngio/__init__.py +2 -2
- {ngio-0.5.0a1 → ngio-0.5.0a3}/src/ngio/common/__init__.py +11 -6
- {ngio-0.5.0a1 → ngio-0.5.0a3}/src/ngio/common/_masking_roi.py +12 -41
- ngio-0.5.0a3/src/ngio/common/_pyramid.py +413 -0
- ngio-0.5.0a3/src/ngio/common/_roi.py +315 -0
- {ngio-0.5.0a1 → ngio-0.5.0a3}/src/ngio/experimental/iterators/_feature.py +3 -3
- {ngio-0.5.0a1 → ngio-0.5.0a3}/src/ngio/experimental/iterators/_rois_utils.py +10 -11
- {ngio-0.5.0a1 → ngio-0.5.0a3}/src/ngio/hcs/_plate.py +114 -123
- {ngio-0.5.0a1 → ngio-0.5.0a3}/src/ngio/images/_abstract_image.py +417 -35
- {ngio-0.5.0a1 → ngio-0.5.0a3}/src/ngio/images/_create_synt_container.py +36 -43
- ngio-0.5.0a3/src/ngio/images/_create_utils.py +423 -0
- {ngio-0.5.0a1 → ngio-0.5.0a3}/src/ngio/images/_image.py +155 -177
- {ngio-0.5.0a1 → ngio-0.5.0a3}/src/ngio/images/_label.py +144 -119
- {ngio-0.5.0a1 → ngio-0.5.0a3}/src/ngio/images/_ome_zarr_container.py +361 -196
- {ngio-0.5.0a1 → ngio-0.5.0a3}/src/ngio/io_pipes/_io_pipes.py +9 -9
- {ngio-0.5.0a1 → ngio-0.5.0a3}/src/ngio/io_pipes/_io_pipes_masked.py +7 -7
- {ngio-0.5.0a1 → ngio-0.5.0a3}/src/ngio/io_pipes/_io_pipes_roi.py +6 -6
- {ngio-0.5.0a1 → ngio-0.5.0a3}/src/ngio/io_pipes/_io_pipes_types.py +3 -3
- {ngio-0.5.0a1 → ngio-0.5.0a3}/src/ngio/io_pipes/_match_shape.py +5 -4
- {ngio-0.5.0a1 → ngio-0.5.0a3}/src/ngio/io_pipes/_ops_slices_utils.py +8 -5
- {ngio-0.5.0a1 → ngio-0.5.0a3}/src/ngio/ome_zarr_meta/__init__.py +15 -18
- ngio-0.5.0a3/src/ngio/ome_zarr_meta/_meta_handlers.py +449 -0
- {ngio-0.5.0a1 → ngio-0.5.0a3}/src/ngio/ome_zarr_meta/ngio_specs/_axes.py +1 -0
- {ngio-0.5.0a1 → ngio-0.5.0a3}/src/ngio/ome_zarr_meta/ngio_specs/_dataset.py +13 -22
- {ngio-0.5.0a1 → ngio-0.5.0a3}/src/ngio/ome_zarr_meta/ngio_specs/_ngio_hcs.py +54 -61
- {ngio-0.5.0a1 → ngio-0.5.0a3}/src/ngio/ome_zarr_meta/ngio_specs/_ngio_image.py +14 -68
- {ngio-0.5.0a1 → ngio-0.5.0a3}/src/ngio/ome_zarr_meta/v04/__init__.py +1 -1
- ngio-0.5.0a1/src/ngio/ome_zarr_meta/v04/_v04_spec_utils.py → ngio-0.5.0a3/src/ngio/ome_zarr_meta/v04/_v04_spec.py +16 -61
- {ngio-0.5.0a1 → ngio-0.5.0a3}/src/ngio/ome_zarr_meta/v05/__init__.py +1 -1
- ngio-0.5.0a1/src/ngio/ome_zarr_meta/v05/_v05_spec_utils.py → ngio-0.5.0a3/src/ngio/ome_zarr_meta/v05/_v05_spec.py +18 -61
- {ngio-0.5.0a1 → ngio-0.5.0a3}/src/ngio/tables/_tables_container.py +25 -20
- {ngio-0.5.0a1 → ngio-0.5.0a3}/src/ngio/tables/backends/_anndata.py +57 -8
- {ngio-0.5.0a1 → ngio-0.5.0a3}/src/ngio/tables/backends/_anndata_utils.py +1 -6
- ngio-0.5.0a3/src/ngio/tables/backends/_csv.py +19 -0
- {ngio-0.5.0a1 → ngio-0.5.0a3}/src/ngio/tables/backends/_json.py +10 -13
- ngio-0.5.0a3/src/ngio/tables/backends/_parquet.py +19 -0
- ngio-0.5.0a3/src/ngio/tables/backends/_py_arrow_backends.py +222 -0
- {ngio-0.5.0a1 → ngio-0.5.0a3}/src/ngio/tables/v1/_roi_table.py +44 -27
- {ngio-0.5.0a1 → ngio-0.5.0a3}/src/ngio/utils/__init__.py +6 -12
- ngio-0.5.0a3/src/ngio/utils/_cache.py +48 -0
- ngio-0.5.0a3/src/ngio/utils/_zarr_utils.py +531 -0
- {ngio-0.5.0a1 → ngio-0.5.0a3}/tests/conftest.py +12 -6
- ngio-0.5.0a3/tests/create_test_data.py +78 -0
- ngio-0.5.0a3/tests/data/v04/images/test_image_c1yx.zarr/.zattrs +86 -0
- ngio-0.5.0a3/tests/data/v04/images/test_image_c1yx.zarr/.zgroup +3 -0
- ngio-0.5.0a3/tests/data/v04/images/test_image_c1yx.zarr/0/.zarray +27 -0
- ngio-0.5.0a3/tests/data/v04/images/test_image_c1yx.zarr/0/.zattrs +1 -0
- ngio-0.5.0a3/tests/data/v04/images/test_image_c1yx.zarr/1/.zarray +27 -0
- ngio-0.5.0a3/tests/data/v04/images/test_image_c1yx.zarr/1/.zattrs +1 -0
- ngio-0.5.0a3/tests/data/v04/images/test_image_c1yx.zarr/labels/.zattrs +5 -0
- ngio-0.5.0a3/tests/data/v04/images/test_image_c1yx.zarr/labels/.zgroup +3 -0
- ngio-0.5.0a3/tests/data/v04/images/test_image_c1yx.zarr/labels/label/.zattrs +59 -0
- ngio-0.5.0a3/tests/data/v04/images/test_image_c1yx.zarr/labels/label/.zgroup +3 -0
- ngio-0.5.0a3/tests/data/v04/images/test_image_c1yx.zarr/labels/label/0/.zarray +25 -0
- ngio-0.5.0a3/tests/data/v04/images/test_image_c1yx.zarr/labels/label/0/.zattrs +1 -0
- ngio-0.5.0a3/tests/data/v04/images/test_image_c1yx.zarr/labels/label/1/.zarray +25 -0
- ngio-0.5.0a3/tests/data/v04/images/test_image_c1yx.zarr/labels/label/1/.zattrs +1 -0
- ngio-0.5.0a3/tests/data/v04/images/test_image_c1yx.zarr/tables/.zattrs +5 -0
- ngio-0.5.0a3/tests/data/v04/images/test_image_c1yx.zarr/tables/.zgroup +3 -0
- ngio-0.5.0a3/tests/data/v04/images/test_image_c1yx.zarr/tables/well_ROI_table/.zattrs +7 -0
- ngio-0.5.0a3/tests/data/v04/images/test_image_c1yx.zarr/tables/well_ROI_table/.zgroup +3 -0
- ngio-0.5.0a3/tests/data/v04/images/test_image_c1yx.zarr/tables/well_ROI_table/table.csv +2 -0
- ngio-0.5.0a3/tests/data/v04/images/test_image_cyx.zarr/.zattrs +79 -0
- ngio-0.5.0a3/tests/data/v04/images/test_image_cyx.zarr/.zgroup +3 -0
- ngio-0.5.0a3/tests/data/v04/images/test_image_cyx.zarr/0/.zarray +25 -0
- ngio-0.5.0a3/tests/data/v04/images/test_image_cyx.zarr/0/.zattrs +1 -0
- ngio-0.5.0a3/tests/data/v04/images/test_image_cyx.zarr/1/.zarray +25 -0
- ngio-0.5.0a3/tests/data/v04/images/test_image_cyx.zarr/1/.zattrs +1 -0
- ngio-0.5.0a3/tests/data/v04/images/test_image_cyx.zarr/labels/.zattrs +5 -0
- ngio-0.5.0a3/tests/data/v04/images/test_image_cyx.zarr/labels/.zgroup +3 -0
- ngio-0.5.0a3/tests/data/v04/images/test_image_cyx.zarr/labels/label/.zattrs +52 -0
- ngio-0.5.0a3/tests/data/v04/images/test_image_cyx.zarr/labels/label/.zgroup +3 -0
- ngio-0.5.0a3/tests/data/v04/images/test_image_cyx.zarr/labels/label/0/.zarray +23 -0
- ngio-0.5.0a3/tests/data/v04/images/test_image_cyx.zarr/labels/label/0/.zattrs +1 -0
- ngio-0.5.0a3/tests/data/v04/images/test_image_cyx.zarr/labels/label/1/.zarray +23 -0
- ngio-0.5.0a3/tests/data/v04/images/test_image_cyx.zarr/labels/label/1/.zattrs +1 -0
- ngio-0.5.0a3/tests/data/v04/images/test_image_cyx.zarr/tables/.zattrs +5 -0
- ngio-0.5.0a3/tests/data/v04/images/test_image_cyx.zarr/tables/.zgroup +3 -0
- ngio-0.5.0a3/tests/data/v04/images/test_image_cyx.zarr/tables/well_ROI_table/.zattrs +7 -0
- ngio-0.5.0a3/tests/data/v04/images/test_image_cyx.zarr/tables/well_ROI_table/.zgroup +3 -0
- ngio-0.5.0a3/tests/data/v04/images/test_image_cyx.zarr/tables/well_ROI_table/table.csv +2 -0
- ngio-0.5.0a3/tests/data/v04/images/test_image_czyx.zarr/.zattrs +86 -0
- ngio-0.5.0a3/tests/data/v04/images/test_image_czyx.zarr/.zgroup +3 -0
- ngio-0.5.0a3/tests/data/v04/images/test_image_czyx.zarr/0/.zarray +27 -0
- ngio-0.5.0a3/tests/data/v04/images/test_image_czyx.zarr/0/.zattrs +1 -0
- ngio-0.5.0a3/tests/data/v04/images/test_image_czyx.zarr/1/.zarray +27 -0
- ngio-0.5.0a3/tests/data/v04/images/test_image_czyx.zarr/1/.zattrs +1 -0
- ngio-0.5.0a3/tests/data/v04/images/test_image_czyx.zarr/labels/.zattrs +5 -0
- ngio-0.5.0a3/tests/data/v04/images/test_image_czyx.zarr/labels/.zgroup +3 -0
- ngio-0.5.0a3/tests/data/v04/images/test_image_czyx.zarr/labels/label/.zattrs +59 -0
- ngio-0.5.0a3/tests/data/v04/images/test_image_czyx.zarr/labels/label/.zgroup +3 -0
- ngio-0.5.0a3/tests/data/v04/images/test_image_czyx.zarr/labels/label/0/.zarray +25 -0
- ngio-0.5.0a3/tests/data/v04/images/test_image_czyx.zarr/labels/label/0/.zattrs +1 -0
- ngio-0.5.0a3/tests/data/v04/images/test_image_czyx.zarr/labels/label/1/.zarray +25 -0
- ngio-0.5.0a3/tests/data/v04/images/test_image_czyx.zarr/labels/label/1/.zattrs +1 -0
- ngio-0.5.0a3/tests/data/v04/images/test_image_czyx.zarr/tables/.zattrs +5 -0
- ngio-0.5.0a3/tests/data/v04/images/test_image_czyx.zarr/tables/.zgroup +3 -0
- ngio-0.5.0a3/tests/data/v04/images/test_image_czyx.zarr/tables/well_ROI_table/.zattrs +7 -0
- ngio-0.5.0a3/tests/data/v04/images/test_image_czyx.zarr/tables/well_ROI_table/.zgroup +3 -0
- ngio-0.5.0a3/tests/data/v04/images/test_image_czyx.zarr/tables/well_ROI_table/table.csv +2 -0
- ngio-0.5.0a3/tests/data/v04/images/test_image_tcyx.zarr/.zattrs +98 -0
- ngio-0.5.0a3/tests/data/v04/images/test_image_tcyx.zarr/.zgroup +3 -0
- ngio-0.5.0a3/tests/data/v04/images/test_image_tcyx.zarr/0/.zarray +27 -0
- ngio-0.5.0a3/tests/data/v04/images/test_image_tcyx.zarr/0/.zattrs +1 -0
- ngio-0.5.0a3/tests/data/v04/images/test_image_tcyx.zarr/1/.zarray +27 -0
- ngio-0.5.0a3/tests/data/v04/images/test_image_tcyx.zarr/1/.zattrs +1 -0
- ngio-0.5.0a3/tests/data/v04/images/test_image_tcyx.zarr/labels/.zattrs +5 -0
- ngio-0.5.0a3/tests/data/v04/images/test_image_tcyx.zarr/labels/.zgroup +3 -0
- ngio-0.5.0a3/tests/data/v04/images/test_image_tcyx.zarr/labels/label/.zattrs +59 -0
- ngio-0.5.0a3/tests/data/v04/images/test_image_tcyx.zarr/labels/label/.zgroup +3 -0
- ngio-0.5.0a3/tests/data/v04/images/test_image_tcyx.zarr/labels/label/0/.zarray +25 -0
- ngio-0.5.0a3/tests/data/v04/images/test_image_tcyx.zarr/labels/label/0/.zattrs +1 -0
- ngio-0.5.0a3/tests/data/v04/images/test_image_tcyx.zarr/labels/label/1/.zarray +25 -0
- ngio-0.5.0a3/tests/data/v04/images/test_image_tcyx.zarr/labels/label/1/.zattrs +1 -0
- ngio-0.5.0a3/tests/data/v04/images/test_image_tcyx.zarr/tables/.zattrs +5 -0
- ngio-0.5.0a3/tests/data/v04/images/test_image_tcyx.zarr/tables/.zgroup +3 -0
- ngio-0.5.0a3/tests/data/v04/images/test_image_tcyx.zarr/tables/well_ROI_table/.zattrs +7 -0
- ngio-0.5.0a3/tests/data/v04/images/test_image_tcyx.zarr/tables/well_ROI_table/.zgroup +3 -0
- ngio-0.5.0a3/tests/data/v04/images/test_image_tcyx.zarr/tables/well_ROI_table/table.csv +2 -0
- ngio-0.5.0a3/tests/data/v04/images/test_image_tczyx.zarr/.zattrs +93 -0
- ngio-0.5.0a3/tests/data/v04/images/test_image_tczyx.zarr/.zgroup +3 -0
- ngio-0.5.0a3/tests/data/v04/images/test_image_tczyx.zarr/0/.zarray +29 -0
- ngio-0.5.0a3/tests/data/v04/images/test_image_tczyx.zarr/0/.zattrs +1 -0
- ngio-0.5.0a3/tests/data/v04/images/test_image_tczyx.zarr/1/.zarray +29 -0
- ngio-0.5.0a3/tests/data/v04/images/test_image_tczyx.zarr/1/.zattrs +1 -0
- ngio-0.5.0a3/tests/data/v04/images/test_image_tczyx.zarr/labels/.zattrs +5 -0
- ngio-0.5.0a3/tests/data/v04/images/test_image_tczyx.zarr/labels/.zgroup +3 -0
- ngio-0.5.0a3/tests/data/v04/images/test_image_tczyx.zarr/labels/label/.zattrs +66 -0
- ngio-0.5.0a3/tests/data/v04/images/test_image_tczyx.zarr/labels/label/.zgroup +3 -0
- ngio-0.5.0a3/tests/data/v04/images/test_image_tczyx.zarr/labels/label/0/.zarray +27 -0
- ngio-0.5.0a3/tests/data/v04/images/test_image_tczyx.zarr/labels/label/0/.zattrs +1 -0
- ngio-0.5.0a3/tests/data/v04/images/test_image_tczyx.zarr/labels/label/1/.zarray +27 -0
- ngio-0.5.0a3/tests/data/v04/images/test_image_tczyx.zarr/labels/label/1/.zattrs +1 -0
- ngio-0.5.0a3/tests/data/v04/images/test_image_tczyx.zarr/tables/.zattrs +5 -0
- ngio-0.5.0a3/tests/data/v04/images/test_image_tczyx.zarr/tables/.zgroup +3 -0
- ngio-0.5.0a3/tests/data/v04/images/test_image_tczyx.zarr/tables/well_ROI_table/.zattrs +7 -0
- ngio-0.5.0a3/tests/data/v04/images/test_image_tczyx.zarr/tables/well_ROI_table/.zgroup +3 -0
- ngio-0.5.0a3/tests/data/v04/images/test_image_tczyx.zarr/tables/well_ROI_table/table.csv +2 -0
- ngio-0.5.0a3/tests/data/v04/images/test_image_tyx.zarr/.zattrs +68 -0
- ngio-0.5.0a3/tests/data/v04/images/test_image_tyx.zarr/.zgroup +3 -0
- ngio-0.5.0a3/tests/data/v04/images/test_image_tyx.zarr/0/.zarray +25 -0
- ngio-0.5.0a3/tests/data/v04/images/test_image_tyx.zarr/0/.zattrs +1 -0
- ngio-0.5.0a3/tests/data/v04/images/test_image_tyx.zarr/1/.zarray +25 -0
- ngio-0.5.0a3/tests/data/v04/images/test_image_tyx.zarr/1/.zattrs +1 -0
- ngio-0.5.0a3/tests/data/v04/images/test_image_tyx.zarr/labels/.zattrs +5 -0
- ngio-0.5.0a3/tests/data/v04/images/test_image_tyx.zarr/labels/.zgroup +3 -0
- ngio-0.5.0a3/tests/data/v04/images/test_image_tyx.zarr/labels/label/.zattrs +59 -0
- ngio-0.5.0a3/tests/data/v04/images/test_image_tyx.zarr/labels/label/.zgroup +3 -0
- ngio-0.5.0a3/tests/data/v04/images/test_image_tyx.zarr/labels/label/0/.zarray +25 -0
- ngio-0.5.0a3/tests/data/v04/images/test_image_tyx.zarr/labels/label/0/.zattrs +1 -0
- ngio-0.5.0a3/tests/data/v04/images/test_image_tyx.zarr/labels/label/1/.zarray +25 -0
- ngio-0.5.0a3/tests/data/v04/images/test_image_tyx.zarr/labels/label/1/.zattrs +1 -0
- ngio-0.5.0a3/tests/data/v04/images/test_image_tyx.zarr/tables/.zattrs +5 -0
- ngio-0.5.0a3/tests/data/v04/images/test_image_tyx.zarr/tables/.zgroup +3 -0
- ngio-0.5.0a3/tests/data/v04/images/test_image_tyx.zarr/tables/well_ROI_table/.zattrs +7 -0
- ngio-0.5.0a3/tests/data/v04/images/test_image_tyx.zarr/tables/well_ROI_table/.zgroup +3 -0
- ngio-0.5.0a3/tests/data/v04/images/test_image_tyx.zarr/tables/well_ROI_table/table.csv +2 -0
- ngio-0.5.0a3/tests/data/v04/images/test_image_tzyx.zarr/.zattrs +75 -0
- ngio-0.5.0a3/tests/data/v04/images/test_image_tzyx.zarr/.zgroup +3 -0
- ngio-0.5.0a3/tests/data/v04/images/test_image_tzyx.zarr/0/.zarray +27 -0
- ngio-0.5.0a3/tests/data/v04/images/test_image_tzyx.zarr/0/.zattrs +1 -0
- ngio-0.5.0a3/tests/data/v04/images/test_image_tzyx.zarr/1/.zarray +27 -0
- ngio-0.5.0a3/tests/data/v04/images/test_image_tzyx.zarr/1/.zattrs +1 -0
- ngio-0.5.0a3/tests/data/v04/images/test_image_tzyx.zarr/labels/.zattrs +5 -0
- ngio-0.5.0a3/tests/data/v04/images/test_image_tzyx.zarr/labels/.zgroup +3 -0
- ngio-0.5.0a3/tests/data/v04/images/test_image_tzyx.zarr/labels/label/.zattrs +66 -0
- ngio-0.5.0a3/tests/data/v04/images/test_image_tzyx.zarr/labels/label/.zgroup +3 -0
- ngio-0.5.0a3/tests/data/v04/images/test_image_tzyx.zarr/labels/label/0/.zarray +27 -0
- ngio-0.5.0a3/tests/data/v04/images/test_image_tzyx.zarr/labels/label/0/.zattrs +1 -0
- ngio-0.5.0a3/tests/data/v04/images/test_image_tzyx.zarr/labels/label/1/.zarray +27 -0
- ngio-0.5.0a3/tests/data/v04/images/test_image_tzyx.zarr/labels/label/1/.zattrs +1 -0
- ngio-0.5.0a3/tests/data/v04/images/test_image_tzyx.zarr/tables/.zattrs +5 -0
- ngio-0.5.0a3/tests/data/v04/images/test_image_tzyx.zarr/tables/.zgroup +3 -0
- ngio-0.5.0a3/tests/data/v04/images/test_image_tzyx.zarr/tables/well_ROI_table/.zattrs +7 -0
- ngio-0.5.0a3/tests/data/v04/images/test_image_tzyx.zarr/tables/well_ROI_table/.zgroup +3 -0
- ngio-0.5.0a3/tests/data/v04/images/test_image_tzyx.zarr/tables/well_ROI_table/table.csv +2 -0
- ngio-0.5.0a3/tests/data/v04/images/test_image_yx.zarr/.zattrs +61 -0
- ngio-0.5.0a3/tests/data/v04/images/test_image_yx.zarr/.zgroup +3 -0
- ngio-0.5.0a3/tests/data/v04/images/test_image_yx.zarr/0/.zarray +23 -0
- ngio-0.5.0a3/tests/data/v04/images/test_image_yx.zarr/0/.zattrs +1 -0
- ngio-0.5.0a3/tests/data/v04/images/test_image_yx.zarr/1/.zarray +23 -0
- ngio-0.5.0a3/tests/data/v04/images/test_image_yx.zarr/1/.zattrs +1 -0
- ngio-0.5.0a3/tests/data/v04/images/test_image_yx.zarr/labels/.zattrs +5 -0
- ngio-0.5.0a3/tests/data/v04/images/test_image_yx.zarr/labels/.zgroup +3 -0
- ngio-0.5.0a3/tests/data/v04/images/test_image_yx.zarr/labels/label/.zattrs +52 -0
- ngio-0.5.0a3/tests/data/v04/images/test_image_yx.zarr/labels/label/.zgroup +3 -0
- ngio-0.5.0a3/tests/data/v04/images/test_image_yx.zarr/labels/label/0/.zarray +23 -0
- ngio-0.5.0a3/tests/data/v04/images/test_image_yx.zarr/labels/label/0/.zattrs +1 -0
- ngio-0.5.0a3/tests/data/v04/images/test_image_yx.zarr/labels/label/1/.zarray +23 -0
- ngio-0.5.0a3/tests/data/v04/images/test_image_yx.zarr/labels/label/1/.zattrs +1 -0
- ngio-0.5.0a3/tests/data/v04/images/test_image_yx.zarr/tables/.zattrs +5 -0
- ngio-0.5.0a3/tests/data/v04/images/test_image_yx.zarr/tables/.zgroup +3 -0
- ngio-0.5.0a3/tests/data/v04/images/test_image_yx.zarr/tables/well_ROI_table/.zattrs +7 -0
- ngio-0.5.0a3/tests/data/v04/images/test_image_yx.zarr/tables/well_ROI_table/.zgroup +3 -0
- ngio-0.5.0a3/tests/data/v04/images/test_image_yx.zarr/tables/well_ROI_table/table.csv +2 -0
- ngio-0.5.0a3/tests/data/v04/images/test_image_zyx.zarr/.zattrs +68 -0
- ngio-0.5.0a3/tests/data/v04/images/test_image_zyx.zarr/.zgroup +3 -0
- ngio-0.5.0a3/tests/data/v04/images/test_image_zyx.zarr/0/.zarray +25 -0
- ngio-0.5.0a3/tests/data/v04/images/test_image_zyx.zarr/0/.zattrs +1 -0
- ngio-0.5.0a3/tests/data/v04/images/test_image_zyx.zarr/1/.zarray +25 -0
- ngio-0.5.0a3/tests/data/v04/images/test_image_zyx.zarr/1/.zattrs +1 -0
- ngio-0.5.0a3/tests/data/v04/images/test_image_zyx.zarr/labels/.zattrs +5 -0
- ngio-0.5.0a3/tests/data/v04/images/test_image_zyx.zarr/labels/.zgroup +3 -0
- ngio-0.5.0a3/tests/data/v04/images/test_image_zyx.zarr/labels/label/.zattrs +59 -0
- ngio-0.5.0a3/tests/data/v04/images/test_image_zyx.zarr/labels/label/.zgroup +3 -0
- ngio-0.5.0a3/tests/data/v04/images/test_image_zyx.zarr/labels/label/0/.zarray +25 -0
- ngio-0.5.0a3/tests/data/v04/images/test_image_zyx.zarr/labels/label/0/.zattrs +1 -0
- ngio-0.5.0a3/tests/data/v04/images/test_image_zyx.zarr/labels/label/1/.zarray +25 -0
- ngio-0.5.0a3/tests/data/v04/images/test_image_zyx.zarr/labels/label/1/.zattrs +1 -0
- ngio-0.5.0a3/tests/data/v04/images/test_image_zyx.zarr/tables/.zattrs +5 -0
- ngio-0.5.0a3/tests/data/v04/images/test_image_zyx.zarr/tables/.zgroup +3 -0
- ngio-0.5.0a3/tests/data/v04/images/test_image_zyx.zarr/tables/well_ROI_table/.zattrs +7 -0
- ngio-0.5.0a3/tests/data/v04/images/test_image_zyx.zarr/tables/well_ROI_table/.zgroup +3 -0
- ngio-0.5.0a3/tests/data/v04/images/test_image_zyx.zarr/tables/well_ROI_table/table.csv +2 -0
- ngio-0.5.0a3/tests/data/v05/images/test_image_c1yx.zarr/0/zarr.json +52 -0
- ngio-0.5.0a3/tests/data/v05/images/test_image_c1yx.zarr/1/zarr.json +52 -0
- ngio-0.5.0a3/tests/data/v05/images/test_image_c1yx.zarr/labels/label/0/zarr.json +44 -0
- ngio-0.5.0a3/tests/data/v05/images/test_image_c1yx.zarr/labels/label/1/zarr.json +44 -0
- ngio-0.5.0a3/tests/data/v05/images/test_image_c1yx.zarr/labels/label/zarr.json +65 -0
- ngio-0.5.0a3/tests/data/v05/images/test_image_c1yx.zarr/labels/zarr.json +9 -0
- ngio-0.5.0a3/tests/data/v05/images/test_image_c1yx.zarr/tables/well_ROI_table/table.csv +2 -0
- ngio-0.5.0a3/tests/data/v05/images/test_image_c1yx.zarr/tables/well_ROI_table/zarr.json +11 -0
- ngio-0.5.0a3/tests/data/v05/images/test_image_c1yx.zarr/tables/zarr.json +9 -0
- ngio-0.5.0a3/tests/data/v05/images/test_image_c1yx.zarr/zarr.json +92 -0
- ngio-0.5.0a3/tests/data/v05/images/test_image_cyx.zarr/0/zarr.json +49 -0
- ngio-0.5.0a3/tests/data/v05/images/test_image_cyx.zarr/1/zarr.json +49 -0
- ngio-0.5.0a3/tests/data/v05/images/test_image_cyx.zarr/labels/label/0/zarr.json +42 -0
- ngio-0.5.0a3/tests/data/v05/images/test_image_cyx.zarr/labels/label/1/zarr.json +42 -0
- ngio-0.5.0a3/tests/data/v05/images/test_image_cyx.zarr/labels/label/zarr.json +58 -0
- ngio-0.5.0a3/tests/data/v05/images/test_image_cyx.zarr/labels/zarr.json +9 -0
- ngio-0.5.0a3/tests/data/v05/images/test_image_cyx.zarr/tables/well_ROI_table/table.csv +2 -0
- ngio-0.5.0a3/tests/data/v05/images/test_image_cyx.zarr/tables/well_ROI_table/zarr.json +11 -0
- ngio-0.5.0a3/tests/data/v05/images/test_image_cyx.zarr/tables/zarr.json +9 -0
- ngio-0.5.0a3/tests/data/v05/images/test_image_cyx.zarr/zarr.json +85 -0
- ngio-0.5.0a3/tests/data/v05/images/test_image_czyx.zarr/0/zarr.json +52 -0
- ngio-0.5.0a3/tests/data/v05/images/test_image_czyx.zarr/1/zarr.json +52 -0
- ngio-0.5.0a3/tests/data/v05/images/test_image_czyx.zarr/labels/label/0/zarr.json +44 -0
- ngio-0.5.0a3/tests/data/v05/images/test_image_czyx.zarr/labels/label/1/zarr.json +44 -0
- ngio-0.5.0a3/tests/data/v05/images/test_image_czyx.zarr/labels/label/zarr.json +65 -0
- ngio-0.5.0a3/tests/data/v05/images/test_image_czyx.zarr/labels/zarr.json +9 -0
- ngio-0.5.0a3/tests/data/v05/images/test_image_czyx.zarr/tables/well_ROI_table/table.csv +2 -0
- ngio-0.5.0a3/tests/data/v05/images/test_image_czyx.zarr/tables/well_ROI_table/zarr.json +11 -0
- ngio-0.5.0a3/tests/data/v05/images/test_image_czyx.zarr/tables/zarr.json +9 -0
- ngio-0.5.0a3/tests/data/v05/images/test_image_czyx.zarr/zarr.json +92 -0
- ngio-0.5.0a3/tests/data/v05/images/test_image_tcyx.zarr/0/zarr.json +52 -0
- ngio-0.5.0a3/tests/data/v05/images/test_image_tcyx.zarr/1/zarr.json +52 -0
- ngio-0.5.0a3/tests/data/v05/images/test_image_tcyx.zarr/labels/label/0/zarr.json +44 -0
- ngio-0.5.0a3/tests/data/v05/images/test_image_tcyx.zarr/labels/label/1/zarr.json +44 -0
- ngio-0.5.0a3/tests/data/v05/images/test_image_tcyx.zarr/labels/label/zarr.json +65 -0
- ngio-0.5.0a3/tests/data/v05/images/test_image_tcyx.zarr/labels/zarr.json +9 -0
- ngio-0.5.0a3/tests/data/v05/images/test_image_tcyx.zarr/tables/well_ROI_table/table.csv +2 -0
- ngio-0.5.0a3/tests/data/v05/images/test_image_tcyx.zarr/tables/well_ROI_table/zarr.json +11 -0
- ngio-0.5.0a3/tests/data/v05/images/test_image_tcyx.zarr/tables/zarr.json +9 -0
- ngio-0.5.0a3/tests/data/v05/images/test_image_tcyx.zarr/zarr.json +104 -0
- ngio-0.5.0a3/tests/data/v05/images/test_image_tczyx.zarr/0/zarr.json +55 -0
- ngio-0.5.0a3/tests/data/v05/images/test_image_tczyx.zarr/1/zarr.json +55 -0
- ngio-0.5.0a3/tests/data/v05/images/test_image_tczyx.zarr/labels/label/0/zarr.json +46 -0
- ngio-0.5.0a3/tests/data/v05/images/test_image_tczyx.zarr/labels/label/1/zarr.json +46 -0
- ngio-0.5.0a3/tests/data/v05/images/test_image_tczyx.zarr/labels/label/zarr.json +72 -0
- ngio-0.5.0a3/tests/data/v05/images/test_image_tczyx.zarr/labels/zarr.json +9 -0
- ngio-0.5.0a3/tests/data/v05/images/test_image_tczyx.zarr/tables/well_ROI_table/table.csv +2 -0
- ngio-0.5.0a3/tests/data/v05/images/test_image_tczyx.zarr/tables/well_ROI_table/zarr.json +11 -0
- ngio-0.5.0a3/tests/data/v05/images/test_image_tczyx.zarr/tables/zarr.json +9 -0
- ngio-0.5.0a3/tests/data/v05/images/test_image_tczyx.zarr/zarr.json +99 -0
- ngio-0.5.0a3/tests/data/v05/images/test_image_tyx.zarr/0/zarr.json +49 -0
- ngio-0.5.0a3/tests/data/v05/images/test_image_tyx.zarr/1/zarr.json +49 -0
- ngio-0.5.0a3/tests/data/v05/images/test_image_tyx.zarr/labels/label/0/zarr.json +44 -0
- ngio-0.5.0a3/tests/data/v05/images/test_image_tyx.zarr/labels/label/1/zarr.json +44 -0
- ngio-0.5.0a3/tests/data/v05/images/test_image_tyx.zarr/labels/label/zarr.json +65 -0
- ngio-0.5.0a3/tests/data/v05/images/test_image_tyx.zarr/labels/zarr.json +9 -0
- ngio-0.5.0a3/tests/data/v05/images/test_image_tyx.zarr/tables/well_ROI_table/table.csv +2 -0
- ngio-0.5.0a3/tests/data/v05/images/test_image_tyx.zarr/tables/well_ROI_table/zarr.json +11 -0
- ngio-0.5.0a3/tests/data/v05/images/test_image_tyx.zarr/tables/zarr.json +9 -0
- ngio-0.5.0a3/tests/data/v05/images/test_image_tyx.zarr/zarr.json +74 -0
- ngio-0.5.0a3/tests/data/v05/images/test_image_tzyx.zarr/0/zarr.json +52 -0
- ngio-0.5.0a3/tests/data/v05/images/test_image_tzyx.zarr/1/zarr.json +52 -0
- ngio-0.5.0a3/tests/data/v05/images/test_image_tzyx.zarr/labels/label/0/zarr.json +46 -0
- ngio-0.5.0a3/tests/data/v05/images/test_image_tzyx.zarr/labels/label/1/zarr.json +46 -0
- ngio-0.5.0a3/tests/data/v05/images/test_image_tzyx.zarr/labels/label/zarr.json +72 -0
- ngio-0.5.0a3/tests/data/v05/images/test_image_tzyx.zarr/labels/zarr.json +9 -0
- ngio-0.5.0a3/tests/data/v05/images/test_image_tzyx.zarr/tables/well_ROI_table/table.csv +2 -0
- ngio-0.5.0a3/tests/data/v05/images/test_image_tzyx.zarr/tables/well_ROI_table/zarr.json +11 -0
- ngio-0.5.0a3/tests/data/v05/images/test_image_tzyx.zarr/tables/zarr.json +9 -0
- ngio-0.5.0a3/tests/data/v05/images/test_image_tzyx.zarr/zarr.json +81 -0
- ngio-0.5.0a3/tests/data/v05/images/test_image_yx.zarr/0/zarr.json +46 -0
- ngio-0.5.0a3/tests/data/v05/images/test_image_yx.zarr/1/zarr.json +46 -0
- ngio-0.5.0a3/tests/data/v05/images/test_image_yx.zarr/labels/label/0/zarr.json +42 -0
- ngio-0.5.0a3/tests/data/v05/images/test_image_yx.zarr/labels/label/1/zarr.json +42 -0
- ngio-0.5.0a3/tests/data/v05/images/test_image_yx.zarr/labels/label/zarr.json +58 -0
- ngio-0.5.0a3/tests/data/v05/images/test_image_yx.zarr/labels/zarr.json +9 -0
- ngio-0.5.0a3/tests/data/v05/images/test_image_yx.zarr/tables/well_ROI_table/table.csv +2 -0
- ngio-0.5.0a3/tests/data/v05/images/test_image_yx.zarr/tables/well_ROI_table/zarr.json +11 -0
- ngio-0.5.0a3/tests/data/v05/images/test_image_yx.zarr/tables/zarr.json +9 -0
- ngio-0.5.0a3/tests/data/v05/images/test_image_yx.zarr/zarr.json +67 -0
- ngio-0.5.0a3/tests/data/v05/images/test_image_zyx.zarr/0/zarr.json +49 -0
- ngio-0.5.0a3/tests/data/v05/images/test_image_zyx.zarr/1/zarr.json +49 -0
- ngio-0.5.0a3/tests/data/v05/images/test_image_zyx.zarr/labels/label/0/zarr.json +44 -0
- ngio-0.5.0a3/tests/data/v05/images/test_image_zyx.zarr/labels/label/1/zarr.json +44 -0
- ngio-0.5.0a3/tests/data/v05/images/test_image_zyx.zarr/labels/label/zarr.json +65 -0
- ngio-0.5.0a3/tests/data/v05/images/test_image_zyx.zarr/labels/zarr.json +9 -0
- ngio-0.5.0a3/tests/data/v05/images/test_image_zyx.zarr/tables/well_ROI_table/table.csv +2 -0
- ngio-0.5.0a3/tests/data/v05/images/test_image_zyx.zarr/tables/well_ROI_table/zarr.json +11 -0
- ngio-0.5.0a3/tests/data/v05/images/test_image_zyx.zarr/tables/zarr.json +9 -0
- ngio-0.5.0a3/tests/data/v05/images/test_image_zyx.zarr/zarr.json +74 -0
- ngio-0.5.0a3/tests/stores/conftest.py +160 -0
- ngio-0.5.0a3/tests/stores/test_http_store.py +80 -0
- ngio-0.5.0a3/tests/stores/test_local_store.py +54 -0
- ngio-0.5.0a3/tests/stores/test_memory_store.py +54 -0
- ngio-0.5.0a3/tests/stores/test_s3_store.py +88 -0
- ngio-0.5.0a3/tests/stores/utils.py +168 -0
- ngio-0.5.0a3/tests/unit/common/test_roi.py +279 -0
- {ngio-0.5.0a1 → ngio-0.5.0a3}/tests/unit/common/test_transforms.py +2 -2
- {ngio-0.5.0a1 → ngio-0.5.0a3}/tests/unit/hcs/test_plate.py +5 -1
- {ngio-0.5.0a1 → ngio-0.5.0a3}/tests/unit/images/test_create.py +2 -1
- {ngio-0.5.0a1 → ngio-0.5.0a3}/tests/unit/images/test_images.py +21 -11
- {ngio-0.5.0a1 → ngio-0.5.0a3}/tests/unit/images/test_omezarr_container.py +42 -13
- {ngio-0.5.0a1 → ngio-0.5.0a3}/tests/unit/iterators/test_iterators.py +82 -44
- {ngio-0.5.0a1 → ngio-0.5.0a3}/tests/unit/ome_zarr_meta/test_image_handler.py +4 -4
- {ngio-0.5.0a1 → ngio-0.5.0a3}/tests/unit/ome_zarr_meta/test_unit_ngio_specs.py +2 -2
- {ngio-0.5.0a1 → ngio-0.5.0a3}/tests/unit/ome_zarr_meta/test_unit_v04_utils.py +5 -14
- {ngio-0.5.0a1 → ngio-0.5.0a3}/tests/unit/tables/test_backends.py +3 -1
- {ngio-0.5.0a1 → ngio-0.5.0a3}/tests/unit/tables/test_masking_roi_table_v1.py +6 -24
- {ngio-0.5.0a1 → ngio-0.5.0a3}/tests/unit/tables/test_roi_table_v1.py +8 -32
- {ngio-0.5.0a1 → ngio-0.5.0a3}/tests/unit/tables/test_table_group.py +1 -1
- {ngio-0.5.0a1 → ngio-0.5.0a3}/tests/unit/utils/test_zarr_utils.py +50 -16
- ngio-0.5.0a1/src/ngio/common/_pyramid.py +0 -273
- ngio-0.5.0a1/src/ngio/common/_roi.py +0 -387
- ngio-0.5.0a1/src/ngio/images/_create.py +0 -283
- ngio-0.5.0a1/src/ngio/ome_zarr_meta/_meta_handlers.py +0 -828
- ngio-0.5.0a1/src/ngio/tables/backends/_csv.py +0 -35
- ngio-0.5.0a1/src/ngio/tables/backends/_non_zarr_backends.py +0 -196
- ngio-0.5.0a1/src/ngio/tables/backends/_parquet.py +0 -47
- ngio-0.5.0a1/src/ngio/utils/_logger.py +0 -50
- ngio-0.5.0a1/src/ngio/utils/_zarr_utils.py +0 -491
- ngio-0.5.0a1/tests/data/v04/images/test_image_c1yx.zarr/.zattrs +0 -86
- ngio-0.5.0a1/tests/data/v04/images/test_image_c1yx.zarr/.zgroup +0 -3
- ngio-0.5.0a1/tests/data/v04/images/test_image_c1yx.zarr/0/.zarray +0 -27
- ngio-0.5.0a1/tests/data/v04/images/test_image_c1yx.zarr/1/.zarray +0 -27
- ngio-0.5.0a1/tests/data/v04/images/test_image_c1yx.zarr/labels/.zattrs +0 -5
- ngio-0.5.0a1/tests/data/v04/images/test_image_c1yx.zarr/labels/.zgroup +0 -3
- ngio-0.5.0a1/tests/data/v04/images/test_image_c1yx.zarr/labels/label/.zattrs +0 -59
- ngio-0.5.0a1/tests/data/v04/images/test_image_c1yx.zarr/labels/label/.zgroup +0 -3
- ngio-0.5.0a1/tests/data/v04/images/test_image_c1yx.zarr/labels/label/0/.zarray +0 -25
- ngio-0.5.0a1/tests/data/v04/images/test_image_c1yx.zarr/labels/label/1/.zarray +0 -25
- ngio-0.5.0a1/tests/data/v04/images/test_image_cyx.zarr/.zattrs +0 -79
- ngio-0.5.0a1/tests/data/v04/images/test_image_cyx.zarr/.zgroup +0 -3
- ngio-0.5.0a1/tests/data/v04/images/test_image_cyx.zarr/0/.zarray +0 -25
- ngio-0.5.0a1/tests/data/v04/images/test_image_cyx.zarr/1/.zarray +0 -25
- ngio-0.5.0a1/tests/data/v04/images/test_image_cyx.zarr/labels/.zattrs +0 -5
- ngio-0.5.0a1/tests/data/v04/images/test_image_cyx.zarr/labels/.zgroup +0 -3
- ngio-0.5.0a1/tests/data/v04/images/test_image_cyx.zarr/labels/label/.zattrs +0 -52
- ngio-0.5.0a1/tests/data/v04/images/test_image_cyx.zarr/labels/label/.zgroup +0 -3
- ngio-0.5.0a1/tests/data/v04/images/test_image_cyx.zarr/labels/label/0/.zarray +0 -23
- ngio-0.5.0a1/tests/data/v04/images/test_image_cyx.zarr/labels/label/1/.zarray +0 -23
- ngio-0.5.0a1/tests/data/v04/images/test_image_czyx.zarr/.zattrs +0 -86
- ngio-0.5.0a1/tests/data/v04/images/test_image_czyx.zarr/.zgroup +0 -3
- ngio-0.5.0a1/tests/data/v04/images/test_image_czyx.zarr/0/.zarray +0 -27
- ngio-0.5.0a1/tests/data/v04/images/test_image_czyx.zarr/1/.zarray +0 -27
- ngio-0.5.0a1/tests/data/v04/images/test_image_czyx.zarr/labels/.zattrs +0 -5
- ngio-0.5.0a1/tests/data/v04/images/test_image_czyx.zarr/labels/.zgroup +0 -3
- ngio-0.5.0a1/tests/data/v04/images/test_image_czyx.zarr/labels/label/.zattrs +0 -59
- ngio-0.5.0a1/tests/data/v04/images/test_image_czyx.zarr/labels/label/.zgroup +0 -3
- ngio-0.5.0a1/tests/data/v04/images/test_image_czyx.zarr/labels/label/0/.zarray +0 -25
- ngio-0.5.0a1/tests/data/v04/images/test_image_czyx.zarr/labels/label/1/.zarray +0 -25
- ngio-0.5.0a1/tests/data/v04/images/test_image_tcyx.zarr/.zattrs +0 -86
- ngio-0.5.0a1/tests/data/v04/images/test_image_tcyx.zarr/.zgroup +0 -3
- ngio-0.5.0a1/tests/data/v04/images/test_image_tcyx.zarr/0/.zarray +0 -27
- ngio-0.5.0a1/tests/data/v04/images/test_image_tcyx.zarr/1/.zarray +0 -27
- ngio-0.5.0a1/tests/data/v04/images/test_image_tcyx.zarr/labels/.zattrs +0 -5
- ngio-0.5.0a1/tests/data/v04/images/test_image_tcyx.zarr/labels/.zgroup +0 -3
- ngio-0.5.0a1/tests/data/v04/images/test_image_tcyx.zarr/labels/label/.zattrs +0 -59
- ngio-0.5.0a1/tests/data/v04/images/test_image_tcyx.zarr/labels/label/.zgroup +0 -3
- ngio-0.5.0a1/tests/data/v04/images/test_image_tcyx.zarr/labels/label/0/.zarray +0 -25
- ngio-0.5.0a1/tests/data/v04/images/test_image_tcyx.zarr/labels/label/1/.zarray +0 -25
- ngio-0.5.0a1/tests/data/v04/images/test_image_tczyx.zarr/.zattrs +0 -93
- ngio-0.5.0a1/tests/data/v04/images/test_image_tczyx.zarr/.zgroup +0 -3
- ngio-0.5.0a1/tests/data/v04/images/test_image_tczyx.zarr/0/.zarray +0 -29
- ngio-0.5.0a1/tests/data/v04/images/test_image_tczyx.zarr/1/.zarray +0 -29
- ngio-0.5.0a1/tests/data/v04/images/test_image_tczyx.zarr/labels/.zattrs +0 -5
- ngio-0.5.0a1/tests/data/v04/images/test_image_tczyx.zarr/labels/.zgroup +0 -3
- ngio-0.5.0a1/tests/data/v04/images/test_image_tczyx.zarr/labels/label/.zattrs +0 -66
- ngio-0.5.0a1/tests/data/v04/images/test_image_tczyx.zarr/labels/label/.zgroup +0 -3
- ngio-0.5.0a1/tests/data/v04/images/test_image_tczyx.zarr/labels/label/0/.zarray +0 -27
- ngio-0.5.0a1/tests/data/v04/images/test_image_tczyx.zarr/labels/label/1/.zarray +0 -27
- ngio-0.5.0a1/tests/data/v04/images/test_image_tyx.zarr/.zattrs +0 -68
- ngio-0.5.0a1/tests/data/v04/images/test_image_tyx.zarr/.zgroup +0 -3
- ngio-0.5.0a1/tests/data/v04/images/test_image_tyx.zarr/0/.zarray +0 -25
- ngio-0.5.0a1/tests/data/v04/images/test_image_tyx.zarr/1/.zarray +0 -25
- ngio-0.5.0a1/tests/data/v04/images/test_image_tyx.zarr/labels/.zattrs +0 -5
- ngio-0.5.0a1/tests/data/v04/images/test_image_tyx.zarr/labels/.zgroup +0 -3
- ngio-0.5.0a1/tests/data/v04/images/test_image_tyx.zarr/labels/label/.zattrs +0 -59
- ngio-0.5.0a1/tests/data/v04/images/test_image_tyx.zarr/labels/label/.zgroup +0 -3
- ngio-0.5.0a1/tests/data/v04/images/test_image_tyx.zarr/labels/label/0/.zarray +0 -25
- ngio-0.5.0a1/tests/data/v04/images/test_image_tyx.zarr/labels/label/1/.zarray +0 -25
- ngio-0.5.0a1/tests/data/v04/images/test_image_tzyx.zarr/.zattrs +0 -75
- ngio-0.5.0a1/tests/data/v04/images/test_image_tzyx.zarr/.zgroup +0 -3
- ngio-0.5.0a1/tests/data/v04/images/test_image_tzyx.zarr/0/.zarray +0 -27
- ngio-0.5.0a1/tests/data/v04/images/test_image_tzyx.zarr/1/.zarray +0 -27
- ngio-0.5.0a1/tests/data/v04/images/test_image_tzyx.zarr/labels/.zattrs +0 -5
- ngio-0.5.0a1/tests/data/v04/images/test_image_tzyx.zarr/labels/.zgroup +0 -3
- ngio-0.5.0a1/tests/data/v04/images/test_image_tzyx.zarr/labels/label/.zattrs +0 -66
- ngio-0.5.0a1/tests/data/v04/images/test_image_tzyx.zarr/labels/label/.zgroup +0 -3
- ngio-0.5.0a1/tests/data/v04/images/test_image_tzyx.zarr/labels/label/0/.zarray +0 -27
- ngio-0.5.0a1/tests/data/v04/images/test_image_tzyx.zarr/labels/label/1/.zarray +0 -27
- ngio-0.5.0a1/tests/data/v04/images/test_image_yx.zarr/.zattrs +0 -61
- ngio-0.5.0a1/tests/data/v04/images/test_image_yx.zarr/.zgroup +0 -3
- ngio-0.5.0a1/tests/data/v04/images/test_image_yx.zarr/0/.zarray +0 -23
- ngio-0.5.0a1/tests/data/v04/images/test_image_yx.zarr/1/.zarray +0 -23
- ngio-0.5.0a1/tests/data/v04/images/test_image_yx.zarr/labels/.zattrs +0 -5
- ngio-0.5.0a1/tests/data/v04/images/test_image_yx.zarr/labels/.zgroup +0 -3
- ngio-0.5.0a1/tests/data/v04/images/test_image_yx.zarr/labels/label/.zattrs +0 -52
- ngio-0.5.0a1/tests/data/v04/images/test_image_yx.zarr/labels/label/.zgroup +0 -3
- ngio-0.5.0a1/tests/data/v04/images/test_image_yx.zarr/labels/label/0/.zarray +0 -23
- ngio-0.5.0a1/tests/data/v04/images/test_image_yx.zarr/labels/label/1/.zarray +0 -23
- ngio-0.5.0a1/tests/data/v04/images/test_image_zyx.zarr/.zattrs +0 -68
- ngio-0.5.0a1/tests/data/v04/images/test_image_zyx.zarr/.zgroup +0 -3
- ngio-0.5.0a1/tests/data/v04/images/test_image_zyx.zarr/0/.zarray +0 -25
- ngio-0.5.0a1/tests/data/v04/images/test_image_zyx.zarr/1/.zarray +0 -25
- ngio-0.5.0a1/tests/data/v04/images/test_image_zyx.zarr/labels/.zattrs +0 -5
- ngio-0.5.0a1/tests/data/v04/images/test_image_zyx.zarr/labels/.zgroup +0 -3
- ngio-0.5.0a1/tests/data/v04/images/test_image_zyx.zarr/labels/label/.zattrs +0 -59
- ngio-0.5.0a1/tests/data/v04/images/test_image_zyx.zarr/labels/label/.zgroup +0 -3
- ngio-0.5.0a1/tests/data/v04/images/test_image_zyx.zarr/labels/label/0/.zarray +0 -25
- ngio-0.5.0a1/tests/data/v04/images/test_image_zyx.zarr/labels/label/1/.zarray +0 -25
- ngio-0.5.0a1/tests/unit/common/test_roi.py +0 -201
- {ngio-0.5.0a1 → ngio-0.5.0a3}/.copier-answers.yml +0 -0
- {ngio-0.5.0a1 → ngio-0.5.0a3}/.gitattributes +0 -0
- {ngio-0.5.0a1 → ngio-0.5.0a3}/.github/ISSUE_TEMPLATE.md +0 -0
- {ngio-0.5.0a1 → ngio-0.5.0a3}/.github/TEST_FAIL_TEMPLATE.md +0 -0
- {ngio-0.5.0a1 → ngio-0.5.0a3}/.github/dependabot.yml +0 -0
- {ngio-0.5.0a1 → ngio-0.5.0a3}/.github/pull_request_template.md +0 -0
- {ngio-0.5.0a1 → ngio-0.5.0a3}/.gitignore +0 -0
- {ngio-0.5.0a1 → ngio-0.5.0a3}/.pre-commit-config.yaml +0 -0
- {ngio-0.5.0a1 → ngio-0.5.0a3}/LICENSE +0 -0
- {ngio-0.5.0a1 → ngio-0.5.0a3}/README.md +0 -0
- {ngio-0.5.0a1 → ngio-0.5.0a3}/_typos.toml +0 -0
- {ngio-0.5.0a1 → ngio-0.5.0a3}/docs/api/hcs.md +0 -0
- {ngio-0.5.0a1 → ngio-0.5.0a3}/docs/api/images.md +0 -0
- {ngio-0.5.0a1 → ngio-0.5.0a3}/docs/api/iterators.md +0 -0
- {ngio-0.5.0a1 → ngio-0.5.0a3}/docs/api/ngio/common.md +0 -0
- {ngio-0.5.0a1 → ngio-0.5.0a3}/docs/api/ngio/hcs.md +0 -0
- {ngio-0.5.0a1 → ngio-0.5.0a3}/docs/api/ngio/images.md +0 -0
- {ngio-0.5.0a1 → ngio-0.5.0a3}/docs/api/ngio/io_pipes.md +0 -0
- {ngio-0.5.0a1 → ngio-0.5.0a3}/docs/api/ngio/iterators.md +0 -0
- {ngio-0.5.0a1 → ngio-0.5.0a3}/docs/api/ngio/ngio.md +0 -0
- {ngio-0.5.0a1 → ngio-0.5.0a3}/docs/api/ngio/tables.md +0 -0
- {ngio-0.5.0a1 → ngio-0.5.0a3}/docs/api/ngio/transforms.md +0 -0
- {ngio-0.5.0a1 → ngio-0.5.0a3}/docs/api/ngio/utils.md +0 -0
- {ngio-0.5.0a1 → ngio-0.5.0a3}/docs/api/ome_zarr_container.md +0 -0
- {ngio-0.5.0a1 → ngio-0.5.0a3}/docs/api/tables.md +0 -0
- {ngio-0.5.0a1 → ngio-0.5.0a3}/docs/changelog.md +0 -0
- {ngio-0.5.0a1 → ngio-0.5.0a3}/docs/code_of_conduct.md +0 -0
- {ngio-0.5.0a1 → ngio-0.5.0a3}/docs/contributing.md +0 -0
- {ngio-0.5.0a1 → ngio-0.5.0a3}/docs/getting_started/0_quickstart.md +0 -0
- {ngio-0.5.0a1 → ngio-0.5.0a3}/docs/getting_started/1_ome_zarr_containers.md +0 -0
- {ngio-0.5.0a1 → ngio-0.5.0a3}/docs/getting_started/2_images.md +0 -0
- {ngio-0.5.0a1 → ngio-0.5.0a3}/docs/getting_started/3_tables.md +0 -0
- {ngio-0.5.0a1 → ngio-0.5.0a3}/docs/getting_started/4_masked_images.md +0 -0
- {ngio-0.5.0a1 → ngio-0.5.0a3}/docs/getting_started/5_hcs.md +0 -0
- {ngio-0.5.0a1 → ngio-0.5.0a3}/docs/getting_started/6_iterators.md +0 -0
- {ngio-0.5.0a1 → ngio-0.5.0a3}/docs/index.md +0 -0
- {ngio-0.5.0a1 → ngio-0.5.0a3}/docs/table_specs/backend.md +0 -0
- {ngio-0.5.0a1 → ngio-0.5.0a3}/docs/table_specs/overview.md +0 -0
- {ngio-0.5.0a1 → ngio-0.5.0a3}/docs/table_specs/table_types/condition_table.md +0 -0
- {ngio-0.5.0a1 → ngio-0.5.0a3}/docs/table_specs/table_types/custom_table.md +0 -0
- {ngio-0.5.0a1 → ngio-0.5.0a3}/docs/table_specs/table_types/feature_table.md +0 -0
- {ngio-0.5.0a1 → ngio-0.5.0a3}/docs/table_specs/table_types/generic_table.md +0 -0
- {ngio-0.5.0a1 → ngio-0.5.0a3}/docs/table_specs/table_types/masking_roi_table.md +0 -0
- {ngio-0.5.0a1 → ngio-0.5.0a3}/docs/table_specs/table_types/roi_table.md +0 -0
- {ngio-0.5.0a1 → ngio-0.5.0a3}/docs/tutorials/create_ome_zarr.ipynb +0 -0
- {ngio-0.5.0a1 → ngio-0.5.0a3}/docs/tutorials/feature_extraction.ipynb +0 -0
- {ngio-0.5.0a1 → ngio-0.5.0a3}/docs/tutorials/hcs_exploration.ipynb +0 -0
- {ngio-0.5.0a1 → ngio-0.5.0a3}/docs/tutorials/image_processing.ipynb +0 -0
- {ngio-0.5.0a1 → ngio-0.5.0a3}/docs/tutorials/image_segmentation.ipynb +0 -0
- {ngio-0.5.0a1 → ngio-0.5.0a3}/mkdocs.yml +0 -0
- {ngio-0.5.0a1 → ngio-0.5.0a3}/src/ngio/common/_dimensions.py +0 -0
- {ngio-0.5.0a1 → ngio-0.5.0a3}/src/ngio/common/_synt_images_utils.py +0 -0
- {ngio-0.5.0a1 → ngio-0.5.0a3}/src/ngio/common/_zoom.py +0 -0
- {ngio-0.5.0a1 → ngio-0.5.0a3}/src/ngio/experimental/__init__.py +0 -0
- {ngio-0.5.0a1 → ngio-0.5.0a3}/src/ngio/experimental/iterators/__init__.py +0 -0
- {ngio-0.5.0a1 → ngio-0.5.0a3}/src/ngio/experimental/iterators/_abstract_iterator.py +0 -0
- {ngio-0.5.0a1 → ngio-0.5.0a3}/src/ngio/experimental/iterators/_image_processing.py +0 -0
- {ngio-0.5.0a1 → ngio-0.5.0a3}/src/ngio/experimental/iterators/_mappers.py +0 -0
- {ngio-0.5.0a1 → ngio-0.5.0a3}/src/ngio/experimental/iterators/_segmentation.py +0 -0
- {ngio-0.5.0a1 → ngio-0.5.0a3}/src/ngio/hcs/__init__.py +0 -0
- {ngio-0.5.0a1 → ngio-0.5.0a3}/src/ngio/images/__init__.py +0 -0
- {ngio-0.5.0a1 → ngio-0.5.0a3}/src/ngio/images/_masked_image.py +0 -0
- {ngio-0.5.0a1 → ngio-0.5.0a3}/src/ngio/images/_table_ops.py +0 -0
- {ngio-0.5.0a1 → ngio-0.5.0a3}/src/ngio/io_pipes/__init__.py +0 -0
- {ngio-0.5.0a1 → ngio-0.5.0a3}/src/ngio/io_pipes/_ops_axes.py +0 -0
- {ngio-0.5.0a1 → ngio-0.5.0a3}/src/ngio/io_pipes/_ops_slices.py +0 -0
- {ngio-0.5.0a1 → ngio-0.5.0a3}/src/ngio/io_pipes/_ops_transforms.py +0 -0
- {ngio-0.5.0a1 → ngio-0.5.0a3}/src/ngio/io_pipes/_zoom_transform.py +0 -0
- {ngio-0.5.0a1 → ngio-0.5.0a3}/src/ngio/ome_zarr_meta/ngio_specs/__init__.py +0 -0
- {ngio-0.5.0a1 → ngio-0.5.0a3}/src/ngio/ome_zarr_meta/ngio_specs/_channels.py +0 -0
- {ngio-0.5.0a1 → ngio-0.5.0a3}/src/ngio/ome_zarr_meta/ngio_specs/_pixel_size.py +0 -0
- {ngio-0.5.0a1 → ngio-0.5.0a3}/src/ngio/ome_zarr_meta/v04/_custom_models.py +0 -0
- {ngio-0.5.0a1 → ngio-0.5.0a3}/src/ngio/ome_zarr_meta/v05/_custom_models.py +0 -0
- {ngio-0.5.0a1 → ngio-0.5.0a3}/src/ngio/resources/20200812-CardiomyocyteDifferentiation14-Cycle1_B03/mask.png +0 -0
- {ngio-0.5.0a1 → ngio-0.5.0a3}/src/ngio/resources/20200812-CardiomyocyteDifferentiation14-Cycle1_B03/nuclei.png +0 -0
- {ngio-0.5.0a1 → ngio-0.5.0a3}/src/ngio/resources/20200812-CardiomyocyteDifferentiation14-Cycle1_B03/raw.jpg +0 -0
- {ngio-0.5.0a1 → ngio-0.5.0a3}/src/ngio/resources/__init__.py +0 -0
- {ngio-0.5.0a1 → ngio-0.5.0a3}/src/ngio/resources/resource_model.py +0 -0
- {ngio-0.5.0a1 → ngio-0.5.0a3}/src/ngio/tables/__init__.py +0 -0
- {ngio-0.5.0a1 → ngio-0.5.0a3}/src/ngio/tables/_abstract_table.py +0 -0
- {ngio-0.5.0a1 → ngio-0.5.0a3}/src/ngio/tables/backends/__init__.py +0 -0
- {ngio-0.5.0a1 → ngio-0.5.0a3}/src/ngio/tables/backends/_abstract_backend.py +0 -0
- {ngio-0.5.0a1 → ngio-0.5.0a3}/src/ngio/tables/backends/_table_backends.py +0 -0
- {ngio-0.5.0a1 → ngio-0.5.0a3}/src/ngio/tables/backends/_utils.py +0 -0
- {ngio-0.5.0a1 → ngio-0.5.0a3}/src/ngio/tables/v1/__init__.py +0 -0
- {ngio-0.5.0a1 → ngio-0.5.0a3}/src/ngio/tables/v1/_condition_table.py +0 -0
- {ngio-0.5.0a1 → ngio-0.5.0a3}/src/ngio/tables/v1/_feature_table.py +0 -0
- {ngio-0.5.0a1 → ngio-0.5.0a3}/src/ngio/tables/v1/_generic_table.py +0 -0
- {ngio-0.5.0a1 → ngio-0.5.0a3}/src/ngio/transforms/__init__.py +0 -0
- {ngio-0.5.0a1 → ngio-0.5.0a3}/src/ngio/transforms/_zoom.py +0 -0
- {ngio-0.5.0a1 → ngio-0.5.0a3}/src/ngio/utils/_datasets.py +0 -0
- {ngio-0.5.0a1 → ngio-0.5.0a3}/src/ngio/utils/_errors.py +0 -0
- {ngio-0.5.0a1 → ngio-0.5.0a3}/src/ngio/utils/_fractal_fsspec_store.py +0 -0
- {ngio-0.5.0a1 → ngio-0.5.0a3}/tests/data/v04/meta/base_ome_zarr_image_meta.json +0 -0
- {ngio-0.5.0a1 → ngio-0.5.0a3}/tests/data/v04/meta/base_ome_zarr_image_meta_wrong_axis_order.json +0 -0
- {ngio-0.5.0a1 → ngio-0.5.0a3}/tests/data/v04/meta/base_ome_zarr_label_meta.json +0 -0
- {ngio-0.5.0a1 → ngio-0.5.0a3}/tests/data/v04/meta/base_ome_zarr_well_meta.json +0 -0
- {ngio-0.5.0a1 → ngio-0.5.0a3}/tests/data/v04/meta/ome_zarr_well_path_normalization_meta.json +0 -0
- {ngio-0.5.0a1 → ngio-0.5.0a3}/tests/unit/common/test_dimensions.py +0 -0
- {ngio-0.5.0a1 → ngio-0.5.0a3}/tests/unit/common/test_pyramid.py +0 -0
- {ngio-0.5.0a1 → ngio-0.5.0a3}/tests/unit/hcs/test_well.py +0 -0
- {ngio-0.5.0a1 → ngio-0.5.0a3}/tests/unit/images/test_masked_images.py +0 -0
- {ngio-0.5.0a1 → ngio-0.5.0a3}/tests/unit/images/test_table_ops.py +0 -0
- {ngio-0.5.0a1 → ngio-0.5.0a3}/tests/unit/io_pipes/test_axes_ops.py +0 -0
- {ngio-0.5.0a1 → ngio-0.5.0a3}/tests/unit/io_pipes/test_slicing_ops.py +0 -0
- {ngio-0.5.0a1 → ngio-0.5.0a3}/tests/unit/tables/test_backends_utils.py +0 -0
- {ngio-0.5.0a1 → ngio-0.5.0a3}/tests/unit/tables/test_feature_table.py +0 -0
- {ngio-0.5.0a1 → ngio-0.5.0a3}/tests/unit/tables/test_generic_table.py +0 -0
- {ngio-0.5.0a1 → ngio-0.5.0a3}/tests/unit/utils/test_download_datasets.py +0 -0
|
@@ -24,7 +24,7 @@ jobs:
|
|
|
24
24
|
# included in the sdist (unless explicitly excluded)
|
|
25
25
|
runs-on: ubuntu-latest
|
|
26
26
|
steps:
|
|
27
|
-
- uses: actions/checkout@
|
|
27
|
+
- uses: actions/checkout@v6
|
|
28
28
|
- run: pipx run check-manifest
|
|
29
29
|
|
|
30
30
|
test:
|
|
@@ -37,7 +37,7 @@ jobs:
|
|
|
37
37
|
platform: [ubuntu-latest, macos-latest, windows-latest]
|
|
38
38
|
|
|
39
39
|
steps:
|
|
40
|
-
- uses: actions/checkout@
|
|
40
|
+
- uses: actions/checkout@v6
|
|
41
41
|
|
|
42
42
|
- name: 🐍 Set up Python ${{ matrix.python-version }}
|
|
43
43
|
uses: actions/setup-python@v6
|
|
@@ -51,7 +51,7 @@ jobs:
|
|
|
51
51
|
python -m pip install -U pip
|
|
52
52
|
# if running a cron job, we add the --pre flag to test against pre-releases
|
|
53
53
|
python -m pip install .[test] ${{ github.event_name == 'schedule' && '--pre' || '' }}
|
|
54
|
-
|
|
54
|
+
|
|
55
55
|
- name: Restore shared data cache
|
|
56
56
|
id: cache-data
|
|
57
57
|
uses: actions/cache@v4
|
|
@@ -79,6 +79,7 @@ jobs:
|
|
|
79
79
|
update_existing: true
|
|
80
80
|
|
|
81
81
|
- name: Coverage
|
|
82
|
+
if: success() && matrix.platform == 'ubuntu-latest'
|
|
82
83
|
uses: codecov/codecov-action@v5
|
|
83
84
|
with:
|
|
84
85
|
token: ${{ secrets.CODECOV_TOKEN }}
|
|
@@ -98,7 +99,7 @@ jobs:
|
|
|
98
99
|
contents: write
|
|
99
100
|
|
|
100
101
|
steps:
|
|
101
|
-
- uses: actions/checkout@
|
|
102
|
+
- uses: actions/checkout@v6
|
|
102
103
|
with:
|
|
103
104
|
fetch-depth: 0
|
|
104
105
|
|
|
@@ -118,4 +119,4 @@ jobs:
|
|
|
118
119
|
- uses: softprops/action-gh-release@v2
|
|
119
120
|
with:
|
|
120
121
|
generate_release_notes: true
|
|
121
|
-
files:
|
|
122
|
+
files: "./dist/*"
|
|
@@ -1,5 +1,33 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## [v0.5.0]
|
|
4
|
+
|
|
5
|
+
### Features
|
|
6
|
+
- Add support for OME-NGFF v0.5
|
|
7
|
+
- Move to zarr-python v3
|
|
8
|
+
|
|
9
|
+
### API Breaking Changes
|
|
10
|
+
|
|
11
|
+
- New `Roi` models, now supporting arbitrary axes.
|
|
12
|
+
- The `compressor` argument has been renamed to `compressors` in all relevant functions and methods to reflect the support for multiple compressors in zarr v3.
|
|
13
|
+
- The `version` argument has been renamed to `ngff_version` in all relevant functions and methods to specify the OME-NGFF version.
|
|
14
|
+
- Remove the `parallel_safe` argument from all zarr related functions and methods. The locking mechanism is now handled internally and only depends on the
|
|
15
|
+
`cache`.
|
|
16
|
+
- Remove the unused `parent` argument from `ZarrGroupHandler`.
|
|
17
|
+
- Internal changes to `ZarrGroupHandler` to support cleanup unused apis.
|
|
18
|
+
- Remove `ngio_logger` in favor of standard warnings module.
|
|
19
|
+
|
|
20
|
+
## [v0.4.6]
|
|
21
|
+
|
|
22
|
+
### Bug Fixes
|
|
23
|
+
- Fix channel selection from `wavelength_id`
|
|
24
|
+
- Fix table opening mode to stop wrtiting groups when opening in append mode.
|
|
25
|
+
|
|
26
|
+
## [v0.4.5]
|
|
27
|
+
|
|
28
|
+
### Bug Fixes
|
|
29
|
+
- Pin Dask to version <2025.11 to avoid errors when writing zarr pyramids with dask (see https://github.com/dask/dask/issues/12159#issuecomment-3548421833)
|
|
30
|
+
|
|
3
31
|
## [v0.4.4]
|
|
4
32
|
|
|
5
33
|
### Bug Fixes
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: ngio
|
|
3
|
-
Version: 0.5.
|
|
3
|
+
Version: 0.5.0a3
|
|
4
4
|
Summary: Next Generation file format IO
|
|
5
5
|
Project-URL: homepage, https://github.com/BioVisionCenter/ngio
|
|
6
6
|
Project-URL: repository, https://github.com/BioVisionCenter/ngio
|
|
@@ -17,8 +17,8 @@ Classifier: Typing :: Typed
|
|
|
17
17
|
Requires-Python: <3.14,>=3.11
|
|
18
18
|
Requires-Dist: aiohttp
|
|
19
19
|
Requires-Dist: anndata
|
|
20
|
-
Requires-Dist: dask[array]
|
|
21
|
-
Requires-Dist: dask[distributed]
|
|
20
|
+
Requires-Dist: dask[array]<2025.11.0
|
|
21
|
+
Requires-Dist: dask[distributed]<2025.11.0
|
|
22
22
|
Requires-Dist: filelock
|
|
23
23
|
Requires-Dist: numpy
|
|
24
24
|
Requires-Dist: ome-zarr-models
|
|
@@ -31,7 +31,6 @@ Requires-Dist: pydantic
|
|
|
31
31
|
Requires-Dist: requests
|
|
32
32
|
Requires-Dist: zarr>3
|
|
33
33
|
Provides-Extra: dev
|
|
34
|
-
Requires-Dist: devtools; extra == 'dev'
|
|
35
34
|
Requires-Dist: matplotlib; extra == 'dev'
|
|
36
35
|
Requires-Dist: mypy; extra == 'dev'
|
|
37
36
|
Requires-Dist: napari; extra == 'dev'
|
|
@@ -60,8 +59,13 @@ Requires-Dist: rich; extra == 'docs'
|
|
|
60
59
|
Requires-Dist: scikit-image; extra == 'docs'
|
|
61
60
|
Requires-Dist: tabulate; extra == 'docs'
|
|
62
61
|
Provides-Extra: test
|
|
62
|
+
Requires-Dist: boto; extra == 'test'
|
|
63
|
+
Requires-Dist: devtools; extra == 'test'
|
|
64
|
+
Requires-Dist: moto[server]; extra == 'test'
|
|
63
65
|
Requires-Dist: pytest; extra == 'test'
|
|
64
66
|
Requires-Dist: pytest-cov; extra == 'test'
|
|
67
|
+
Requires-Dist: pytest-httpserver; extra == 'test'
|
|
68
|
+
Requires-Dist: s3fs; extra == 'test'
|
|
65
69
|
Requires-Dist: scikit-image; extra == 'test'
|
|
66
70
|
Description-Content-Type: text/markdown
|
|
67
71
|
|
|
@@ -41,8 +41,8 @@ dependencies = [
|
|
|
41
41
|
"pandas>=1.2.0",
|
|
42
42
|
"requests",
|
|
43
43
|
"aiohttp",
|
|
44
|
-
"dask[array]",
|
|
45
|
-
"dask[distributed]",
|
|
44
|
+
"dask[array]<2025.11.0",
|
|
45
|
+
"dask[distributed]<2025.11.0",
|
|
46
46
|
# "xarray", still not used
|
|
47
47
|
"ome-zarr-models",
|
|
48
48
|
"pooch",
|
|
@@ -54,14 +54,22 @@ dependencies = [
|
|
|
54
54
|
# https://peps.python.org/pep-0621/#dependencies-optional-dependencies
|
|
55
55
|
# "extras" (e.g. for `pip install .[test]`)
|
|
56
56
|
[project.optional-dependencies]
|
|
57
|
-
test = [
|
|
57
|
+
test = [
|
|
58
|
+
"pytest",
|
|
59
|
+
"pytest-cov",
|
|
60
|
+
"scikit-image",
|
|
61
|
+
"moto[server]",
|
|
62
|
+
"boto",
|
|
63
|
+
"pytest_httpserver",
|
|
64
|
+
"devtools",
|
|
65
|
+
"s3fs",
|
|
66
|
+
]
|
|
58
67
|
|
|
59
68
|
dev = [
|
|
60
69
|
"Pympler",
|
|
61
70
|
"napari",
|
|
62
71
|
"pyqt5",
|
|
63
72
|
"matplotlib",
|
|
64
|
-
"devtools",
|
|
65
73
|
"notebook",
|
|
66
74
|
"mypy",
|
|
67
75
|
"pdbpp", # https://github.com/pdbpp/pdbpp
|
|
@@ -156,6 +164,8 @@ testpaths = ["tests"]
|
|
|
156
164
|
filterwarnings = [
|
|
157
165
|
"error",
|
|
158
166
|
"ignore::zarr.errors.ZarrUserWarning", # required for anndata
|
|
167
|
+
"ignore::UserWarning", # from ngio.utils._zarr_utils
|
|
168
|
+
"ignore::DeprecationWarning", # temporary ignore deprecation warnings
|
|
159
169
|
]
|
|
160
170
|
addopts = [
|
|
161
171
|
"-vv",
|
|
@@ -224,6 +234,7 @@ test13 = { features = ["py13", "test"], solve-group = "py13" }
|
|
|
224
234
|
|
|
225
235
|
# dev env
|
|
226
236
|
dev = { features = ["dev", "test"], solve-group = "py11" }
|
|
237
|
+
test = { features = ["test"], solve-group = "py11" }
|
|
227
238
|
|
|
228
239
|
[tool.pixi.tasks]
|
|
229
240
|
serve_docs = "mkdocs serve"
|
|
@@ -9,7 +9,7 @@ except PackageNotFoundError: # pragma: no cover
|
|
|
9
9
|
__author__ = "Lorenzo Cerrone"
|
|
10
10
|
__email__ = "lorenzo.cerrone@uzh.ch"
|
|
11
11
|
|
|
12
|
-
from ngio.common import Dimensions, Roi,
|
|
12
|
+
from ngio.common import Dimensions, Roi, RoiSlice
|
|
13
13
|
from ngio.hcs import (
|
|
14
14
|
OmeZarrPlate,
|
|
15
15
|
OmeZarrWell,
|
|
@@ -52,7 +52,7 @@ __all__ = [
|
|
|
52
52
|
"OmeZarrWell",
|
|
53
53
|
"PixelSize",
|
|
54
54
|
"Roi",
|
|
55
|
-
"
|
|
55
|
+
"RoiSlice",
|
|
56
56
|
"create_empty_ome_zarr",
|
|
57
57
|
"create_empty_plate",
|
|
58
58
|
"create_empty_well",
|
|
@@ -2,22 +2,27 @@
|
|
|
2
2
|
|
|
3
3
|
from ngio.common._dimensions import Dimensions
|
|
4
4
|
from ngio.common._masking_roi import compute_masking_roi
|
|
5
|
-
from ngio.common._pyramid import
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
5
|
+
from ngio.common._pyramid import (
|
|
6
|
+
ChunksLike,
|
|
7
|
+
ImagePyramidBuilder,
|
|
8
|
+
ShardsLike,
|
|
9
|
+
consolidate_pyramid,
|
|
10
|
+
on_disk_zoom,
|
|
9
11
|
)
|
|
12
|
+
from ngio.common._roi import Roi, RoiSlice
|
|
10
13
|
from ngio.common._zoom import InterpolationOrder, dask_zoom, numpy_zoom
|
|
11
14
|
|
|
12
15
|
__all__ = [
|
|
16
|
+
"ChunksLike",
|
|
13
17
|
"Dimensions",
|
|
18
|
+
"ImagePyramidBuilder",
|
|
14
19
|
"InterpolationOrder",
|
|
15
20
|
"Roi",
|
|
16
|
-
"
|
|
21
|
+
"RoiSlice",
|
|
22
|
+
"ShardsLike",
|
|
17
23
|
"compute_masking_roi",
|
|
18
24
|
"consolidate_pyramid",
|
|
19
25
|
"dask_zoom",
|
|
20
|
-
"init_empty_pyramid",
|
|
21
26
|
"numpy_zoom",
|
|
22
27
|
"on_disk_zoom",
|
|
23
28
|
]
|
|
@@ -7,7 +7,7 @@ import numpy as np
|
|
|
7
7
|
import scipy.ndimage as ndi
|
|
8
8
|
from dask.delayed import delayed
|
|
9
9
|
|
|
10
|
-
from ngio.common._roi import Roi
|
|
10
|
+
from ngio.common._roi import Roi
|
|
11
11
|
from ngio.ome_zarr_meta import PixelSize
|
|
12
12
|
from ngio.utils import NgioValueError
|
|
13
13
|
|
|
@@ -135,52 +135,23 @@ def compute_masking_roi(
|
|
|
135
135
|
rois = []
|
|
136
136
|
for label, slice_ in slices.items():
|
|
137
137
|
if len(slice_) == 2:
|
|
138
|
-
|
|
139
|
-
min_z, max_z = None, None
|
|
140
|
-
min_y, min_x = slice_[0].start, slice_[1].start
|
|
141
|
-
max_y, max_x = slice_[0].stop, slice_[1].stop
|
|
138
|
+
slices = {"y": slice_[0], "x": slice_[1]}
|
|
142
139
|
elif len(slice_) == 3:
|
|
143
|
-
|
|
144
|
-
min_z, min_y, min_x = slice_[0].start, slice_[1].start, slice_[2].start
|
|
145
|
-
max_z, max_y, max_x = slice_[0].stop, slice_[1].stop, slice_[2].stop
|
|
140
|
+
slices = {"z": slice_[0], "y": slice_[1], "x": slice_[2]}
|
|
146
141
|
elif len(slice_) == 4:
|
|
147
|
-
|
|
148
|
-
slice_[0]
|
|
149
|
-
slice_[1]
|
|
150
|
-
slice_[2]
|
|
151
|
-
slice_[3]
|
|
152
|
-
|
|
153
|
-
max_t, max_z, max_y, max_x = (
|
|
154
|
-
slice_[0].stop,
|
|
155
|
-
slice_[1].stop,
|
|
156
|
-
slice_[2].stop,
|
|
157
|
-
slice_[3].stop,
|
|
158
|
-
)
|
|
142
|
+
slices = {
|
|
143
|
+
"t": slice_[0],
|
|
144
|
+
"z": slice_[1],
|
|
145
|
+
"y": slice_[2],
|
|
146
|
+
"x": slice_[3],
|
|
147
|
+
}
|
|
159
148
|
else:
|
|
160
149
|
raise ValueError("Invalid slice length.")
|
|
161
150
|
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
else:
|
|
165
|
-
t_length = max_t - min_t
|
|
166
|
-
|
|
167
|
-
if max_z is None:
|
|
168
|
-
z_length = None
|
|
169
|
-
else:
|
|
170
|
-
z_length = max_z - min_z
|
|
171
|
-
|
|
172
|
-
roi = RoiPixels(
|
|
173
|
-
name=str(label),
|
|
174
|
-
x_length=max_x - min_x,
|
|
175
|
-
y_length=max_y - min_y,
|
|
176
|
-
z_length=z_length,
|
|
177
|
-
t_length=t_length,
|
|
178
|
-
x=min_x,
|
|
179
|
-
y=min_y,
|
|
180
|
-
z=min_z,
|
|
181
|
-
label=label,
|
|
151
|
+
roi = Roi.from_values(
|
|
152
|
+
name=str(label), slices=slices, label=label, space="pixel"
|
|
182
153
|
)
|
|
183
154
|
|
|
184
|
-
roi = roi.
|
|
155
|
+
roi = roi.to_world(pixel_size=pixel_size)
|
|
185
156
|
rois.append(roi)
|
|
186
157
|
return rois
|