Skip to content

Give the minimal label cases a multiscales and add missing_multiscales - #56

Open
vboussot wants to merge 1 commit into
German-BioImaging:mainfrom
vboussot:fix/label-cases-need-multiscales
Open

vboussot wants to merge 1 commit into
German-BioImaging:mainfrom
vboussot:fix/label-cases-need-multiscales

Conversation

@vboussot

Copy link
Copy Markdown

Follow-up to #51. A label image must implement the multiscales specification (0.4 L462, 0.5 L421, 0.6 L1496), but the valid minimal label documents had only image-label.

The six valid parse_attributes label cases now carry the multiscales of their validate_zarr twins, so they stay minimal and every implementation should agree on them. The old document becomes a missing_multiscales case for each version, as a document and as a hierarchy.

Checked with ngff-zarr: the valid cases pass and the new invalid ones fail. Schema-only validators will still accept missing_multiscales, since label.schema does not require multiscales.

A label image must implement the multiscales specification (0.4: "image-label
groups MUST also contain multiscales metadata"; 0.5 and 0.6: "The zarr.json
file for the label image MUST implement the multiscales specification"). The
valid parse_attributes label cases had only image-label, so a reader that
follows the text refused them. They now carry the multiscales of their
validate_zarr twins, and a missing_multiscales case holds the old document,
as a parse_attributes document and as a hierarchy, for each version.

Discussed in German-BioImaging#51.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant