ngio 0.3.1__tar.gz → 0.3.2__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.
Files changed (222) hide show
  1. ngio-0.3.2/.github/pull_request_template.md +3 -0
  2. ngio-0.3.2/CHANGELOG.md +12 -0
  3. {ngio-0.3.1 → ngio-0.3.2}/PKG-INFO +1 -1
  4. {ngio-0.3.1 → ngio-0.3.2}/docs/table_specs/table_types/roi_table.md +1 -1
  5. {ngio-0.3.1 → ngio-0.3.2}/src/ngio/common/_roi.py +2 -0
  6. {ngio-0.3.1 → ngio-0.3.2}/src/ngio/hcs/_plate.py +2 -1
  7. {ngio-0.3.1 → ngio-0.3.2}/src/ngio/images/_ome_zarr_container.py +3 -2
  8. {ngio-0.3.1 → ngio-0.3.2}/src/ngio/tables/__init__.py +2 -0
  9. {ngio-0.3.1 → ngio-0.3.2}/src/ngio/tables/_abstract_table.py +2 -1
  10. {ngio-0.3.1 → ngio-0.3.2}/src/ngio/tables/_tables_container.py +4 -3
  11. {ngio-0.3.1 → ngio-0.3.2}/src/ngio/tables/backends/__init__.py +2 -0
  12. {ngio-0.3.1 → ngio-0.3.2}/src/ngio/tables/backends/_abstract_backend.py +1 -1
  13. {ngio-0.3.1 → ngio-0.3.2}/src/ngio/tables/backends/_table_backends.py +1 -0
  14. {ngio-0.3.1 → ngio-0.3.2}/src/ngio/tables/v1/_roi_table.py +12 -2
  15. {ngio-0.3.1 → ngio-0.3.2}/tests/unit/common/test_roi.py +1 -0
  16. {ngio-0.3.1 → ngio-0.3.2}/tests/unit/tables/test_masking_roi_table_v1.py +2 -0
  17. ngio-0.3.1/CHANGELOG.md +0 -7
  18. {ngio-0.3.1 → ngio-0.3.2}/.copier-answers.yml +0 -0
  19. {ngio-0.3.1 → ngio-0.3.2}/.gitattributes +0 -0
  20. {ngio-0.3.1 → ngio-0.3.2}/.github/ISSUE_TEMPLATE.md +0 -0
  21. {ngio-0.3.1 → ngio-0.3.2}/.github/TEST_FAIL_TEMPLATE.md +0 -0
  22. {ngio-0.3.1 → ngio-0.3.2}/.github/dependabot.yml +0 -0
  23. {ngio-0.3.1 → ngio-0.3.2}/.github/scripts/download_data.sh +0 -0
  24. {ngio-0.3.1 → ngio-0.3.2}/.github/workflows/build_docs.yml +0 -0
  25. {ngio-0.3.1 → ngio-0.3.2}/.github/workflows/ci.yml +0 -0
  26. {ngio-0.3.1 → ngio-0.3.2}/.gitignore +0 -0
  27. {ngio-0.3.1 → ngio-0.3.2}/.pre-commit-config.yaml +0 -0
  28. {ngio-0.3.1 → ngio-0.3.2}/LICENSE +0 -0
  29. {ngio-0.3.1 → ngio-0.3.2}/README.md +0 -0
  30. {ngio-0.3.1 → ngio-0.3.2}/_typos.toml +0 -0
  31. {ngio-0.3.1 → ngio-0.3.2}/docs/api/common.md +0 -0
  32. {ngio-0.3.1 → ngio-0.3.2}/docs/api/hcs.md +0 -0
  33. {ngio-0.3.1 → ngio-0.3.2}/docs/api/images.md +0 -0
  34. {ngio-0.3.1 → ngio-0.3.2}/docs/api/ngio.md +0 -0
  35. {ngio-0.3.1 → ngio-0.3.2}/docs/api/tables.md +0 -0
  36. {ngio-0.3.1 → ngio-0.3.2}/docs/api/utils.md +0 -0
  37. {ngio-0.3.1 → ngio-0.3.2}/docs/changelog.md +0 -0
  38. {ngio-0.3.1 → ngio-0.3.2}/docs/code_of_conduct.md +0 -0
  39. {ngio-0.3.1 → ngio-0.3.2}/docs/contributing.md +0 -0
  40. {ngio-0.3.1 → ngio-0.3.2}/docs/getting_started/0_quickstart.md +0 -0
  41. {ngio-0.3.1 → ngio-0.3.2}/docs/getting_started/1_ome_zarr_containers.md +0 -0
  42. {ngio-0.3.1 → ngio-0.3.2}/docs/getting_started/2_images.md +0 -0
  43. {ngio-0.3.1 → ngio-0.3.2}/docs/getting_started/3_tables.md +0 -0
  44. {ngio-0.3.1 → ngio-0.3.2}/docs/getting_started/4_masked_images.md +0 -0
  45. {ngio-0.3.1 → ngio-0.3.2}/docs/getting_started/5_hcs.md +0 -0
  46. {ngio-0.3.1 → ngio-0.3.2}/docs/index.md +0 -0
  47. {ngio-0.3.1 → ngio-0.3.2}/docs/table_specs/backend.md +0 -0
  48. {ngio-0.3.1 → ngio-0.3.2}/docs/table_specs/overview.md +0 -0
  49. {ngio-0.3.1 → ngio-0.3.2}/docs/table_specs/table_types/condition_table.md +0 -0
  50. {ngio-0.3.1 → ngio-0.3.2}/docs/table_specs/table_types/custom_table.md +0 -0
  51. {ngio-0.3.1 → ngio-0.3.2}/docs/table_specs/table_types/feature_table.md +0 -0
  52. {ngio-0.3.1 → ngio-0.3.2}/docs/table_specs/table_types/generic_table.md +0 -0
  53. {ngio-0.3.1 → ngio-0.3.2}/docs/table_specs/table_types/masking_roi_table.md +0 -0
  54. {ngio-0.3.1 → ngio-0.3.2}/docs/tutorials/feature_extraction.ipynb +0 -0
  55. {ngio-0.3.1 → ngio-0.3.2}/docs/tutorials/hcs_processing.ipynb +0 -0
  56. {ngio-0.3.1 → ngio-0.3.2}/docs/tutorials/image_processing.ipynb +0 -0
  57. {ngio-0.3.1 → ngio-0.3.2}/docs/tutorials/image_segmentation.ipynb +0 -0
  58. {ngio-0.3.1 → ngio-0.3.2}/mkdocs.yml +0 -0
  59. {ngio-0.3.1 → ngio-0.3.2}/pyproject.toml +0 -0
  60. {ngio-0.3.1 → ngio-0.3.2}/src/ngio/__init__.py +0 -0
  61. {ngio-0.3.1 → ngio-0.3.2}/src/ngio/common/__init__.py +0 -0
  62. {ngio-0.3.1 → ngio-0.3.2}/src/ngio/common/_array_pipe.py +0 -0
  63. {ngio-0.3.1 → ngio-0.3.2}/src/ngio/common/_axes_transforms.py +0 -0
  64. {ngio-0.3.1 → ngio-0.3.2}/src/ngio/common/_common_types.py +0 -0
  65. {ngio-0.3.1 → ngio-0.3.2}/src/ngio/common/_dimensions.py +0 -0
  66. {ngio-0.3.1 → ngio-0.3.2}/src/ngio/common/_masking_roi.py +0 -0
  67. {ngio-0.3.1 → ngio-0.3.2}/src/ngio/common/_pyramid.py +0 -0
  68. {ngio-0.3.1 → ngio-0.3.2}/src/ngio/common/_slicer.py +0 -0
  69. {ngio-0.3.1 → ngio-0.3.2}/src/ngio/common/_table_ops.py +0 -0
  70. {ngio-0.3.1 → ngio-0.3.2}/src/ngio/common/_zoom.py +0 -0
  71. {ngio-0.3.1 → ngio-0.3.2}/src/ngio/hcs/__init__.py +0 -0
  72. {ngio-0.3.1 → ngio-0.3.2}/src/ngio/images/__init__.py +0 -0
  73. {ngio-0.3.1 → ngio-0.3.2}/src/ngio/images/_abstract_image.py +0 -0
  74. {ngio-0.3.1 → ngio-0.3.2}/src/ngio/images/_create.py +0 -0
  75. {ngio-0.3.1 → ngio-0.3.2}/src/ngio/images/_image.py +0 -0
  76. {ngio-0.3.1 → ngio-0.3.2}/src/ngio/images/_label.py +0 -0
  77. {ngio-0.3.1 → ngio-0.3.2}/src/ngio/images/_masked_image.py +0 -0
  78. {ngio-0.3.1 → ngio-0.3.2}/src/ngio/ome_zarr_meta/__init__.py +0 -0
  79. {ngio-0.3.1 → ngio-0.3.2}/src/ngio/ome_zarr_meta/_meta_handlers.py +0 -0
  80. {ngio-0.3.1 → ngio-0.3.2}/src/ngio/ome_zarr_meta/ngio_specs/__init__.py +0 -0
  81. {ngio-0.3.1 → ngio-0.3.2}/src/ngio/ome_zarr_meta/ngio_specs/_axes.py +0 -0
  82. {ngio-0.3.1 → ngio-0.3.2}/src/ngio/ome_zarr_meta/ngio_specs/_channels.py +0 -0
  83. {ngio-0.3.1 → ngio-0.3.2}/src/ngio/ome_zarr_meta/ngio_specs/_dataset.py +0 -0
  84. {ngio-0.3.1 → ngio-0.3.2}/src/ngio/ome_zarr_meta/ngio_specs/_ngio_hcs.py +0 -0
  85. {ngio-0.3.1 → ngio-0.3.2}/src/ngio/ome_zarr_meta/ngio_specs/_ngio_image.py +0 -0
  86. {ngio-0.3.1 → ngio-0.3.2}/src/ngio/ome_zarr_meta/ngio_specs/_pixel_size.py +0 -0
  87. {ngio-0.3.1 → ngio-0.3.2}/src/ngio/ome_zarr_meta/v04/__init__.py +0 -0
  88. {ngio-0.3.1 → ngio-0.3.2}/src/ngio/ome_zarr_meta/v04/_custom_models.py +0 -0
  89. {ngio-0.3.1 → ngio-0.3.2}/src/ngio/ome_zarr_meta/v04/_v04_spec_utils.py +0 -0
  90. {ngio-0.3.1 → ngio-0.3.2}/src/ngio/tables/backends/_anndata.py +0 -0
  91. {ngio-0.3.1 → ngio-0.3.2}/src/ngio/tables/backends/_anndata_utils.py +0 -0
  92. {ngio-0.3.1 → ngio-0.3.2}/src/ngio/tables/backends/_csv.py +0 -0
  93. {ngio-0.3.1 → ngio-0.3.2}/src/ngio/tables/backends/_json.py +0 -0
  94. {ngio-0.3.1 → ngio-0.3.2}/src/ngio/tables/backends/_non_zarr_backends.py +0 -0
  95. {ngio-0.3.1 → ngio-0.3.2}/src/ngio/tables/backends/_parquet.py +0 -0
  96. {ngio-0.3.1 → ngio-0.3.2}/src/ngio/tables/backends/_utils.py +0 -0
  97. {ngio-0.3.1 → ngio-0.3.2}/src/ngio/tables/v1/__init__.py +0 -0
  98. {ngio-0.3.1 → ngio-0.3.2}/src/ngio/tables/v1/_condition_table.py +0 -0
  99. {ngio-0.3.1 → ngio-0.3.2}/src/ngio/tables/v1/_feature_table.py +0 -0
  100. {ngio-0.3.1 → ngio-0.3.2}/src/ngio/tables/v1/_generic_table.py +0 -0
  101. {ngio-0.3.1 → ngio-0.3.2}/src/ngio/utils/__init__.py +0 -0
  102. {ngio-0.3.1 → ngio-0.3.2}/src/ngio/utils/_datasets.py +0 -0
  103. {ngio-0.3.1 → ngio-0.3.2}/src/ngio/utils/_errors.py +0 -0
  104. {ngio-0.3.1 → ngio-0.3.2}/src/ngio/utils/_fractal_fsspec_store.py +0 -0
  105. {ngio-0.3.1 → ngio-0.3.2}/src/ngio/utils/_logger.py +0 -0
  106. {ngio-0.3.1 → ngio-0.3.2}/src/ngio/utils/_zarr_utils.py +0 -0
  107. {ngio-0.3.1 → ngio-0.3.2}/tests/conftest.py +0 -0
  108. {ngio-0.3.1 → ngio-0.3.2}/tests/data/v04/images/test_image_c1yx.zarr/.zattrs +0 -0
  109. {ngio-0.3.1 → ngio-0.3.2}/tests/data/v04/images/test_image_c1yx.zarr/.zgroup +0 -0
  110. {ngio-0.3.1 → ngio-0.3.2}/tests/data/v04/images/test_image_c1yx.zarr/0/.zarray +0 -0
  111. {ngio-0.3.1 → ngio-0.3.2}/tests/data/v04/images/test_image_c1yx.zarr/1/.zarray +0 -0
  112. {ngio-0.3.1 → ngio-0.3.2}/tests/data/v04/images/test_image_c1yx.zarr/labels/.zattrs +0 -0
  113. {ngio-0.3.1 → ngio-0.3.2}/tests/data/v04/images/test_image_c1yx.zarr/labels/.zgroup +0 -0
  114. {ngio-0.3.1 → ngio-0.3.2}/tests/data/v04/images/test_image_c1yx.zarr/labels/label/.zattrs +0 -0
  115. {ngio-0.3.1 → ngio-0.3.2}/tests/data/v04/images/test_image_c1yx.zarr/labels/label/.zgroup +0 -0
  116. {ngio-0.3.1 → ngio-0.3.2}/tests/data/v04/images/test_image_c1yx.zarr/labels/label/0/.zarray +0 -0
  117. {ngio-0.3.1 → ngio-0.3.2}/tests/data/v04/images/test_image_c1yx.zarr/labels/label/1/.zarray +0 -0
  118. {ngio-0.3.1 → ngio-0.3.2}/tests/data/v04/images/test_image_cyx.zarr/.zattrs +0 -0
  119. {ngio-0.3.1 → ngio-0.3.2}/tests/data/v04/images/test_image_cyx.zarr/.zgroup +0 -0
  120. {ngio-0.3.1 → ngio-0.3.2}/tests/data/v04/images/test_image_cyx.zarr/0/.zarray +0 -0
  121. {ngio-0.3.1 → ngio-0.3.2}/tests/data/v04/images/test_image_cyx.zarr/1/.zarray +0 -0
  122. {ngio-0.3.1 → ngio-0.3.2}/tests/data/v04/images/test_image_cyx.zarr/labels/.zattrs +0 -0
  123. {ngio-0.3.1 → ngio-0.3.2}/tests/data/v04/images/test_image_cyx.zarr/labels/.zgroup +0 -0
  124. {ngio-0.3.1 → ngio-0.3.2}/tests/data/v04/images/test_image_cyx.zarr/labels/label/.zattrs +0 -0
  125. {ngio-0.3.1 → ngio-0.3.2}/tests/data/v04/images/test_image_cyx.zarr/labels/label/.zgroup +0 -0
  126. {ngio-0.3.1 → ngio-0.3.2}/tests/data/v04/images/test_image_cyx.zarr/labels/label/0/.zarray +0 -0
  127. {ngio-0.3.1 → ngio-0.3.2}/tests/data/v04/images/test_image_cyx.zarr/labels/label/1/.zarray +0 -0
  128. {ngio-0.3.1 → ngio-0.3.2}/tests/data/v04/images/test_image_czyx.zarr/.zattrs +0 -0
  129. {ngio-0.3.1 → ngio-0.3.2}/tests/data/v04/images/test_image_czyx.zarr/.zgroup +0 -0
  130. {ngio-0.3.1 → ngio-0.3.2}/tests/data/v04/images/test_image_czyx.zarr/0/.zarray +0 -0
  131. {ngio-0.3.1 → ngio-0.3.2}/tests/data/v04/images/test_image_czyx.zarr/1/.zarray +0 -0
  132. {ngio-0.3.1 → ngio-0.3.2}/tests/data/v04/images/test_image_czyx.zarr/labels/.zattrs +0 -0
  133. {ngio-0.3.1 → ngio-0.3.2}/tests/data/v04/images/test_image_czyx.zarr/labels/.zgroup +0 -0
  134. {ngio-0.3.1 → ngio-0.3.2}/tests/data/v04/images/test_image_czyx.zarr/labels/label/.zattrs +0 -0
  135. {ngio-0.3.1 → ngio-0.3.2}/tests/data/v04/images/test_image_czyx.zarr/labels/label/.zgroup +0 -0
  136. {ngio-0.3.1 → ngio-0.3.2}/tests/data/v04/images/test_image_czyx.zarr/labels/label/0/.zarray +0 -0
  137. {ngio-0.3.1 → ngio-0.3.2}/tests/data/v04/images/test_image_czyx.zarr/labels/label/1/.zarray +0 -0
  138. {ngio-0.3.1 → ngio-0.3.2}/tests/data/v04/images/test_image_tcyx.zarr/.zattrs +0 -0
  139. {ngio-0.3.1 → ngio-0.3.2}/tests/data/v04/images/test_image_tcyx.zarr/.zgroup +0 -0
  140. {ngio-0.3.1 → ngio-0.3.2}/tests/data/v04/images/test_image_tcyx.zarr/0/.zarray +0 -0
  141. {ngio-0.3.1 → ngio-0.3.2}/tests/data/v04/images/test_image_tcyx.zarr/1/.zarray +0 -0
  142. {ngio-0.3.1 → ngio-0.3.2}/tests/data/v04/images/test_image_tcyx.zarr/labels/.zattrs +0 -0
  143. {ngio-0.3.1 → ngio-0.3.2}/tests/data/v04/images/test_image_tcyx.zarr/labels/.zgroup +0 -0
  144. {ngio-0.3.1 → ngio-0.3.2}/tests/data/v04/images/test_image_tcyx.zarr/labels/label/.zattrs +0 -0
  145. {ngio-0.3.1 → ngio-0.3.2}/tests/data/v04/images/test_image_tcyx.zarr/labels/label/.zgroup +0 -0
  146. {ngio-0.3.1 → ngio-0.3.2}/tests/data/v04/images/test_image_tcyx.zarr/labels/label/0/.zarray +0 -0
  147. {ngio-0.3.1 → ngio-0.3.2}/tests/data/v04/images/test_image_tcyx.zarr/labels/label/1/.zarray +0 -0
  148. {ngio-0.3.1 → ngio-0.3.2}/tests/data/v04/images/test_image_tczyx.zarr/.zattrs +0 -0
  149. {ngio-0.3.1 → ngio-0.3.2}/tests/data/v04/images/test_image_tczyx.zarr/.zgroup +0 -0
  150. {ngio-0.3.1 → ngio-0.3.2}/tests/data/v04/images/test_image_tczyx.zarr/0/.zarray +0 -0
  151. {ngio-0.3.1 → ngio-0.3.2}/tests/data/v04/images/test_image_tczyx.zarr/1/.zarray +0 -0
  152. {ngio-0.3.1 → ngio-0.3.2}/tests/data/v04/images/test_image_tczyx.zarr/labels/.zattrs +0 -0
  153. {ngio-0.3.1 → ngio-0.3.2}/tests/data/v04/images/test_image_tczyx.zarr/labels/.zgroup +0 -0
  154. {ngio-0.3.1 → ngio-0.3.2}/tests/data/v04/images/test_image_tczyx.zarr/labels/label/.zattrs +0 -0
  155. {ngio-0.3.1 → ngio-0.3.2}/tests/data/v04/images/test_image_tczyx.zarr/labels/label/.zgroup +0 -0
  156. {ngio-0.3.1 → ngio-0.3.2}/tests/data/v04/images/test_image_tczyx.zarr/labels/label/0/.zarray +0 -0
  157. {ngio-0.3.1 → ngio-0.3.2}/tests/data/v04/images/test_image_tczyx.zarr/labels/label/1/.zarray +0 -0
  158. {ngio-0.3.1 → ngio-0.3.2}/tests/data/v04/images/test_image_tyx.zarr/.zattrs +0 -0
  159. {ngio-0.3.1 → ngio-0.3.2}/tests/data/v04/images/test_image_tyx.zarr/.zgroup +0 -0
  160. {ngio-0.3.1 → ngio-0.3.2}/tests/data/v04/images/test_image_tyx.zarr/0/.zarray +0 -0
  161. {ngio-0.3.1 → ngio-0.3.2}/tests/data/v04/images/test_image_tyx.zarr/1/.zarray +0 -0
  162. {ngio-0.3.1 → ngio-0.3.2}/tests/data/v04/images/test_image_tyx.zarr/labels/.zattrs +0 -0
  163. {ngio-0.3.1 → ngio-0.3.2}/tests/data/v04/images/test_image_tyx.zarr/labels/.zgroup +0 -0
  164. {ngio-0.3.1 → ngio-0.3.2}/tests/data/v04/images/test_image_tyx.zarr/labels/label/.zattrs +0 -0
  165. {ngio-0.3.1 → ngio-0.3.2}/tests/data/v04/images/test_image_tyx.zarr/labels/label/.zgroup +0 -0
  166. {ngio-0.3.1 → ngio-0.3.2}/tests/data/v04/images/test_image_tyx.zarr/labels/label/0/.zarray +0 -0
  167. {ngio-0.3.1 → ngio-0.3.2}/tests/data/v04/images/test_image_tyx.zarr/labels/label/1/.zarray +0 -0
  168. {ngio-0.3.1 → ngio-0.3.2}/tests/data/v04/images/test_image_tzyx.zarr/.zattrs +0 -0
  169. {ngio-0.3.1 → ngio-0.3.2}/tests/data/v04/images/test_image_tzyx.zarr/.zgroup +0 -0
  170. {ngio-0.3.1 → ngio-0.3.2}/tests/data/v04/images/test_image_tzyx.zarr/0/.zarray +0 -0
  171. {ngio-0.3.1 → ngio-0.3.2}/tests/data/v04/images/test_image_tzyx.zarr/1/.zarray +0 -0
  172. {ngio-0.3.1 → ngio-0.3.2}/tests/data/v04/images/test_image_tzyx.zarr/labels/.zattrs +0 -0
  173. {ngio-0.3.1 → ngio-0.3.2}/tests/data/v04/images/test_image_tzyx.zarr/labels/.zgroup +0 -0
  174. {ngio-0.3.1 → ngio-0.3.2}/tests/data/v04/images/test_image_tzyx.zarr/labels/label/.zattrs +0 -0
  175. {ngio-0.3.1 → ngio-0.3.2}/tests/data/v04/images/test_image_tzyx.zarr/labels/label/.zgroup +0 -0
  176. {ngio-0.3.1 → ngio-0.3.2}/tests/data/v04/images/test_image_tzyx.zarr/labels/label/0/.zarray +0 -0
  177. {ngio-0.3.1 → ngio-0.3.2}/tests/data/v04/images/test_image_tzyx.zarr/labels/label/1/.zarray +0 -0
  178. {ngio-0.3.1 → ngio-0.3.2}/tests/data/v04/images/test_image_yx.zarr/.zattrs +0 -0
  179. {ngio-0.3.1 → ngio-0.3.2}/tests/data/v04/images/test_image_yx.zarr/.zgroup +0 -0
  180. {ngio-0.3.1 → ngio-0.3.2}/tests/data/v04/images/test_image_yx.zarr/0/.zarray +0 -0
  181. {ngio-0.3.1 → ngio-0.3.2}/tests/data/v04/images/test_image_yx.zarr/1/.zarray +0 -0
  182. {ngio-0.3.1 → ngio-0.3.2}/tests/data/v04/images/test_image_yx.zarr/labels/.zattrs +0 -0
  183. {ngio-0.3.1 → ngio-0.3.2}/tests/data/v04/images/test_image_yx.zarr/labels/.zgroup +0 -0
  184. {ngio-0.3.1 → ngio-0.3.2}/tests/data/v04/images/test_image_yx.zarr/labels/label/.zattrs +0 -0
  185. {ngio-0.3.1 → ngio-0.3.2}/tests/data/v04/images/test_image_yx.zarr/labels/label/.zgroup +0 -0
  186. {ngio-0.3.1 → ngio-0.3.2}/tests/data/v04/images/test_image_yx.zarr/labels/label/0/.zarray +0 -0
  187. {ngio-0.3.1 → ngio-0.3.2}/tests/data/v04/images/test_image_yx.zarr/labels/label/1/.zarray +0 -0
  188. {ngio-0.3.1 → ngio-0.3.2}/tests/data/v04/images/test_image_zyx.zarr/.zattrs +0 -0
  189. {ngio-0.3.1 → ngio-0.3.2}/tests/data/v04/images/test_image_zyx.zarr/.zgroup +0 -0
  190. {ngio-0.3.1 → ngio-0.3.2}/tests/data/v04/images/test_image_zyx.zarr/0/.zarray +0 -0
  191. {ngio-0.3.1 → ngio-0.3.2}/tests/data/v04/images/test_image_zyx.zarr/1/.zarray +0 -0
  192. {ngio-0.3.1 → ngio-0.3.2}/tests/data/v04/images/test_image_zyx.zarr/labels/.zattrs +0 -0
  193. {ngio-0.3.1 → ngio-0.3.2}/tests/data/v04/images/test_image_zyx.zarr/labels/.zgroup +0 -0
  194. {ngio-0.3.1 → ngio-0.3.2}/tests/data/v04/images/test_image_zyx.zarr/labels/label/.zattrs +0 -0
  195. {ngio-0.3.1 → ngio-0.3.2}/tests/data/v04/images/test_image_zyx.zarr/labels/label/.zgroup +0 -0
  196. {ngio-0.3.1 → ngio-0.3.2}/tests/data/v04/images/test_image_zyx.zarr/labels/label/0/.zarray +0 -0
  197. {ngio-0.3.1 → ngio-0.3.2}/tests/data/v04/images/test_image_zyx.zarr/labels/label/1/.zarray +0 -0
  198. {ngio-0.3.1 → ngio-0.3.2}/tests/data/v04/meta/base_ome_zarr_image_meta.json +0 -0
  199. {ngio-0.3.1 → ngio-0.3.2}/tests/data/v04/meta/base_ome_zarr_image_meta_wrong_axis_order.json +0 -0
  200. {ngio-0.3.1 → ngio-0.3.2}/tests/data/v04/meta/base_ome_zarr_label_meta.json +0 -0
  201. {ngio-0.3.1 → ngio-0.3.2}/tests/data/v04/meta/base_ome_zarr_well_meta.json +0 -0
  202. {ngio-0.3.1 → ngio-0.3.2}/tests/data/v04/meta/ome_zarr_well_path_normalization_meta.json +0 -0
  203. {ngio-0.3.1 → ngio-0.3.2}/tests/unit/common/test_dimensions.py +0 -0
  204. {ngio-0.3.1 → ngio-0.3.2}/tests/unit/common/test_pyramid.py +0 -0
  205. {ngio-0.3.1 → ngio-0.3.2}/tests/unit/common/test_table_ops.py +0 -0
  206. {ngio-0.3.1 → ngio-0.3.2}/tests/unit/hcs/test_plate.py +0 -0
  207. {ngio-0.3.1 → ngio-0.3.2}/tests/unit/hcs/test_well.py +0 -0
  208. {ngio-0.3.1 → ngio-0.3.2}/tests/unit/images/test_create.py +0 -0
  209. {ngio-0.3.1 → ngio-0.3.2}/tests/unit/images/test_images.py +0 -0
  210. {ngio-0.3.1 → ngio-0.3.2}/tests/unit/images/test_masked_images.py +0 -0
  211. {ngio-0.3.1 → ngio-0.3.2}/tests/unit/images/test_omezarr_container.py +0 -0
  212. {ngio-0.3.1 → ngio-0.3.2}/tests/unit/ome_zarr_meta/test_image_handler.py +0 -0
  213. {ngio-0.3.1 → ngio-0.3.2}/tests/unit/ome_zarr_meta/test_unit_ngio_specs.py +0 -0
  214. {ngio-0.3.1 → ngio-0.3.2}/tests/unit/ome_zarr_meta/test_unit_v04_utils.py +0 -0
  215. {ngio-0.3.1 → ngio-0.3.2}/tests/unit/tables/test_backends.py +0 -0
  216. {ngio-0.3.1 → ngio-0.3.2}/tests/unit/tables/test_backends_utils.py +0 -0
  217. {ngio-0.3.1 → ngio-0.3.2}/tests/unit/tables/test_feature_table.py +0 -0
  218. {ngio-0.3.1 → ngio-0.3.2}/tests/unit/tables/test_generic_table.py +0 -0
  219. {ngio-0.3.1 → ngio-0.3.2}/tests/unit/tables/test_roi_table_v1.py +0 -0
  220. {ngio-0.3.1 → ngio-0.3.2}/tests/unit/tables/test_table_group.py +0 -0
  221. {ngio-0.3.1 → ngio-0.3.2}/tests/unit/utils/test_download_datasets.py +0 -0
  222. {ngio-0.3.1 → ngio-0.3.2}/tests/unit/utils/test_zarr_utils.py +0 -0
@@ -0,0 +1,3 @@
1
+
2
+ ## Checklist before merging
3
+ - [ ] I added an appropriate entry to `CHANGELOG.md`
@@ -0,0 +1,12 @@
1
+ # Changelog
2
+
3
+ ## [v0.3.2]
4
+
5
+ ### API Changes
6
+
7
+ - change table backend default to `anndata_v1` for backward compatibility. This will be chaanged again when ngio `v0.2.x` is no longer supported.
8
+
9
+ ### Bug Fixes
10
+
11
+ - fix [#13](https://github.com/fractal-analytics-platform/fractal-converters-tools/issues/13) (converters tools)
12
+ - fix [#88](https://github.com/fractal-analytics-platform/ngio/issues/88)
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: ngio
3
- Version: 0.3.1
3
+ Version: 0.3.2
4
4
  Summary: Next Generation file format IO
5
5
  Project-URL: homepage, https://github.com/fractal-analytics-platform/ngio
6
6
  Project-URL: repository, https://github.com/fractal-analytics-platform/ngio
@@ -33,7 +33,7 @@ Moreover the ROI table must include the following columns:
33
33
 
34
34
  Additionally, each ROI can include the following optional columns:
35
35
 
36
- - `x_micrometer_original` and `y_micrometer_original` which are the original coordinates of the ROI in micrometers. These are typically used when the data is saved in different coordinates during conversion, e.g. to avoid overwriting data from overlapping ROIs.
36
+ - `x_micrometer_original`, `y_micrometer_original` and `z_micrometer_original` which are the original coordinates of the ROI in micrometers. These are typically used when the data is saved in different coordinates during conversion, e.g. to avoid overwriting data from overlapping ROIs.
37
37
  - `translation_x`, `translation_y` and `translation_z`, which are used during registration of multiplexing acquisitions.
38
38
 
39
39
  The user can also add additional columns to the ROI table, but these columns will not be exposed in the ROI table API.
@@ -57,6 +57,7 @@ class Roi(BaseModel):
57
57
  x_length=_to_raster(self.x_length, pixel_size.x, dim_x),
58
58
  y_length=_to_raster(self.y_length, pixel_size.y, dim_y),
59
59
  z_length=_to_raster(self.z_length, pixel_size.z, dim_z),
60
+ **self.model_extra,
60
61
  )
61
62
 
62
63
  def zoom(self, zoom_factor: float = 1) -> "Roi":
@@ -94,6 +95,7 @@ class RoiPixels(BaseModel):
94
95
  y_length=_to_world(self.y_length, pixel_size.y),
95
96
  z_length=_to_world(self.z_length, pixel_size.z),
96
97
  unit=pixel_size.space_unit,
98
+ **self.model_extra,
97
99
  )
98
100
 
99
101
  def to_slices(self) -> dict[str, slice]:
@@ -27,6 +27,7 @@ from ngio.ome_zarr_meta import (
27
27
  )
28
28
  from ngio.tables import (
29
29
  ConditionTable,
30
+ DefaultTableBackend,
30
31
  FeatureTable,
31
32
  GenericRoiTable,
32
33
  MaskingRoiTable,
@@ -944,7 +945,7 @@ class OmeZarrPlate:
944
945
  self,
945
946
  name: str,
946
947
  table: Table,
947
- backend: TableBackend = "anndata",
948
+ backend: TableBackend = DefaultTableBackend,
948
949
  overwrite: bool = False,
949
950
  ) -> None:
950
951
  """Add a table to the image."""
@@ -23,6 +23,7 @@ from ngio.ome_zarr_meta.ngio_specs import (
23
23
  )
24
24
  from ngio.tables import (
25
25
  ConditionTable,
26
+ DefaultTableBackend,
26
27
  FeatureTable,
27
28
  GenericRoiTable,
28
29
  MaskingRoiTable,
@@ -501,7 +502,7 @@ class OmeZarrContainer:
501
502
  self,
502
503
  name: str,
503
504
  table: Table,
504
- backend: TableBackend = "anndata",
505
+ backend: TableBackend = DefaultTableBackend,
505
506
  overwrite: bool = False,
506
507
  ) -> None:
507
508
  """Add a table to the image."""
@@ -831,7 +832,7 @@ def create_ome_zarr_from_array(
831
832
  axes_names=axes_names,
832
833
  name=name,
833
834
  chunks=chunks,
834
- dtype=array.dtype,
835
+ dtype=str(array.dtype),
835
836
  overwrite=overwrite,
836
837
  version=version,
837
838
  )
@@ -15,6 +15,7 @@ from ngio.tables._tables_container import (
15
15
  open_tables_container,
16
16
  )
17
17
  from ngio.tables.backends import (
18
+ DefaultTableBackend,
18
19
  ImplementedTableBackends,
19
20
  TableBackend,
20
21
  TableBackendProtocol,
@@ -23,6 +24,7 @@ from ngio.tables.v1._generic_table import GenericTable
23
24
 
24
25
  __all__ = [
25
26
  "ConditionTable",
27
+ "DefaultTableBackend",
26
28
  "FeatureTable",
27
29
  "GenericRoiTable",
28
30
  "GenericTable",
@@ -10,6 +10,7 @@ from anndata import AnnData
10
10
 
11
11
  from ngio.tables.backends import (
12
12
  BackendMeta,
13
+ DefaultTableBackend,
13
14
  ImplementedTableBackends,
14
15
  TableBackend,
15
16
  TableBackendProtocol,
@@ -203,7 +204,7 @@ class AbstractBaseTable(ABC):
203
204
  def set_backend(
204
205
  self,
205
206
  handler: ZarrGroupHandler | None = None,
206
- backend: TableBackend = "anndata",
207
+ backend: TableBackend = DefaultTableBackend,
207
208
  ) -> None:
208
209
  """Set the backend of the table."""
209
210
  if handler is None:
@@ -8,6 +8,7 @@ import polars as pl
8
8
 
9
9
  from ngio.tables.backends import (
10
10
  BackendMeta,
11
+ DefaultTableBackend,
11
12
  TableBackend,
12
13
  TabularData,
13
14
  )
@@ -90,7 +91,7 @@ class Table(Protocol):
90
91
  def set_backend(
91
92
  self,
92
93
  handler: ZarrGroupHandler | None = None,
93
- backend: TableBackend = "anndata",
94
+ backend: TableBackend = DefaultTableBackend,
94
95
  ) -> None:
95
96
  """Set the backend store and path for the table.
96
97
 
@@ -314,7 +315,7 @@ class TablesContainer:
314
315
  self,
315
316
  name: str,
316
317
  table: Table,
317
- backend: TableBackend = "anndata",
318
+ backend: TableBackend = DefaultTableBackend,
318
319
  overwrite: bool = False,
319
320
  ) -> None:
320
321
  """Add a table to the group."""
@@ -406,7 +407,7 @@ def open_table_as(
406
407
  def write_table(
407
408
  store: StoreOrGroup,
408
409
  table: Table,
409
- backend: TableBackend = "anndata",
410
+ backend: TableBackend = DefaultTableBackend,
410
411
  cache: bool = False,
411
412
  mode: AccessModeLiteral = "a",
412
413
  parallel_safe: bool = False,
@@ -6,6 +6,7 @@ from ngio.tables.backends._csv import CsvTableBackend
6
6
  from ngio.tables.backends._json import JsonTableBackend
7
7
  from ngio.tables.backends._parquet import ParquetTableBackend
8
8
  from ngio.tables.backends._table_backends import (
9
+ DefaultTableBackend,
9
10
  ImplementedTableBackends,
10
11
  TableBackend,
11
12
  TableBackendProtocol,
@@ -32,6 +33,7 @@ __all__ = [
32
33
  "AnnDataBackend",
33
34
  "BackendMeta",
34
35
  "CsvTableBackend",
36
+ "DefaultTableBackend",
35
37
  "ImplementedTableBackends",
36
38
  "JsonTableBackend",
37
39
  "ParquetTableBackend",
@@ -19,7 +19,7 @@ from ngio.utils import NgioValueError, ZarrGroupHandler
19
19
  class BackendMeta(BaseModel):
20
20
  """Metadata for the backend."""
21
21
 
22
- backend: str = "anndata"
22
+ backend: str = "anndata_v1"
23
23
  index_key: str | None = None
24
24
  index_type: Literal["int", "str"] | None = None
25
25
 
@@ -223,3 +223,4 @@ ImplementedTableBackends().add_backend(
223
223
  )
224
224
 
225
225
  TableBackend = Literal["anndata", "json", "csv", "parquet"] | str | TableBackendProtocol
226
+ DefaultTableBackend = "anndata_v1"
@@ -47,11 +47,20 @@ REQUIRED_COLUMNS = [
47
47
  ORIGIN_COLUMNS = [
48
48
  "x_micrometer_original",
49
49
  "y_micrometer_original",
50
+ "z_micrometer_original",
50
51
  ]
51
52
 
52
53
  TRANSLATION_COLUMNS = ["translation_x", "translation_y", "translation_z"]
53
54
 
54
- PLATE_COLUMNS = ["plate_name", "row", "column", "path", "acquisition"]
55
+ PLATE_COLUMNS = [
56
+ "plate_name",
57
+ "row",
58
+ "column",
59
+ "path_in_well",
60
+ "path_in_plate",
61
+ "acquisition_id",
62
+ "acquisition_name",
63
+ ]
55
64
 
56
65
  INDEX_COLUMNS = [
57
66
  "FieldIndex",
@@ -390,7 +399,8 @@ class MaskingRoiTableV1(GenericRoiTableV1):
390
399
  meta = MaskingRoiTableV1Meta()
391
400
 
392
401
  if reference_label is not None:
393
- meta.region = RegionMeta(path=reference_label)
402
+ path = f"../labels/{reference_label}"
403
+ meta.region = RegionMeta(path=path)
394
404
 
395
405
  if meta.index_key is None:
396
406
  meta.index_key = "label"
@@ -41,3 +41,4 @@ def test_rois():
41
41
  assert world_roi_2.x_length == 1.0
42
42
  assert world_roi_2.y_length == 1.0
43
43
  assert world_roi_2.z_length == 1.0
44
+ assert world_roi_2.other == "other"
@@ -24,6 +24,8 @@ def test_masking_roi_table_v1(tmp_path: Path):
24
24
  table = MaskingRoiTableV1(rois=rois.values(), reference_label="label")
25
25
  assert isinstance(table.__repr__(), str)
26
26
  assert table.reference_label == "label"
27
+ assert table.meta.region is not None
28
+ assert table.meta.region.path == "../labels/label"
27
29
 
28
30
  table.add(
29
31
  roi=Roi(
ngio-0.3.1/CHANGELOG.md DELETED
@@ -1,7 +0,0 @@
1
- # Changelog
2
-
3
- ## [Unreleased]
4
-
5
- ### Added
6
-
7
- - Initial version of the changelog.
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes