BioImageTools / ome-zarr-models-py

Prototype for a common minimal-dependencies Python implementation of the NGFF data model
https://ome-zarr-models-py.readthedocs.io/en/latest/
9 stars 1 forks source link

Feat/multiscale tests #25

Closed d-v-b closed 1 day ago

d-v-b commented 1 day ago

I bring in a lot of the tests and validation logic from pydantic-zarr. A few notable changes I add here:

d-v-b commented 1 day ago

I added validation + tests to ensure that the number of multiscales.axes matches the dimensionality of the transforms defined in multiscales.coordinateTransformations (if present), and separate validation / tests to ensure that the axes match the number of transforms in the per-dataset coordinate transformations

d-v-b commented 1 day ago

i think this is ready for review!

d-v-b commented 1 day ago

this should resolve https://github.com/BioImageTools/ome-zarr-models-py/issues/33