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

High level API to find the ngff version from a Group #26

Open lorenzocerrone opened 1 day ago

lorenzocerrone commented 1 day ago

The idea is to have a function that tries to find the ngff version from a given group.

def find_version(group: Group) -> str

Should this also validate the entire model? Or should it try just to load the version attr in the multiscale group?