Skip to content

Other

Warning

The implementation of OME-Zarr 0.6 is not final, and subject to change. It is provided so users can test and evaluate ome-zarr-models and the specification before it becomes final. Please report issues and provide feedback!

ome_zarr_models.v06.base.BaseGroupv06

Bases: BaseGroup, GroupSpec[BaseZarrAttrs[T], Union['pydantic_zarr.v3.GroupSpec', 'pydantic_zarr.v3.ArraySpec']], Generic[T]

Base class for all v0.6 OME-Zarr groups.

Attributes:

Name Type Description
zarr_format Literal[3]
node_type Literal['group']
attributes BaseZarrAttrs
members Mapping[str, GroupSpec | ArraySpec] | None

ome_attributes

ome_attributes: T

OME attributes.

ome_zarr_version

ome_zarr_version: Literal['0.6']

OME-Zarr version.

from_zarr

from_zarr(group: Group) -> Self

Create an OME-Zarr model from a zarr.Group.

Parameters:

Name Type Description Default
group Group

A Zarr group that has valid OME-Zarr image metadata.

required

ome_zarr_models.v06.base.BaseOMEAttrs

Bases: BaseAttrsv3

Base class for OME-Zarr 0.6 attributes.

Attributes:

Name Type Description
version Literal['0.6.dev4']

ome_zarr_models.v06.base.BaseZarrAttrs

Bases: BaseModel, Generic[T]

Base class for zarr attributes in an OME-Zarr group.

Attributes:

Name Type Description
ome T