Zarr models¶
biomero_schema.zarr ¶
Cross-service schemas for BIOMERO-managed Zarr data.
These models describe portable records exchanged by BIOMERO services. They do not implement canonical storage, OMERO access, workflow events, or Zarr I/O.
ZarrContractModel ¶
PixelIdentity ¶
CanonicalZarrSource ¶
Bases: ZarrContractModel
Managed locator for a verified canonical Zarr representation.
ManagedZarrNode ¶
ZarrLabelComponent ¶
Bases: ZarrContractModel
One logical label layer and, when inherited, its managed source.
source is absent only while the label pixels are stored locally in the
collection that owns this record. A workflow input snapshot always uses a
managed source because its reconstructed transfer artifact is temporary.
CanonicalPlateImage ¶
CanonicalPlateSource ¶
CanonicalPlateIndex ¶
CanonicalPlateImageRecord ¶
CanonicalPlateLabelRecord ¶
CanonicalInput ¶
CanonicalInputManifest ¶
ShallowImageReference ¶
ShallowCollection ¶
ShallowPlateReference ¶
Bases: ZarrContractModel
Managed locator attached to a derived OMERO shallow Plate.
The compact Plate-level annotation indexes the authoritative collection manifest without repeating every per-image pixel identity in OMERO. Consumers must load and validate that manifest before reconstruction.
ZarrImportOptions ¶
ShallowZarrReference ¶
Bases: ZarrContractModel
Managed locator attached to one OMERO label-image projection.
The referenced collection remains the authority. Consumers must load its sidecar and verify that this image/label/source tuple is still present before materializing data.
to_annotation_values ¶
Encode the reference for an OMERO MapAnnotation value map.
from_annotation_values
classmethod
¶
Decode and validate an OMERO MapAnnotation value map.
from_collection
classmethod
¶
from_collection(collection: ShallowCollection, *, storage_root: str, relative_path: str, image_node_path: str, label_node_paths: tuple[str, ...] | None = None) -> ShallowZarrReference
Create a projection reference and require collection membership.