-
Notifications
You must be signed in to change notification settings - Fork 4
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Stop validating omero data structure (?) #91
Comments
I agree that it can be read that way. Given that this hopefully will get replaced with an actual channels definition eventually, it would be a pity if 0.4 has a decently validated Omero that can be used as a channel definition, 0.5 to 0.x has basically no omero info validation and 0.x+1 would introduce new metadata that would be nicely validated again. |
I think the problem is that #191 was likely missing from the latest version that @normanrz based his work on. Unless someone else confirms first, I'll review the diffs ASAP. |
Given that text doesn't exsit in version 0.5 of the spec, I think we should not validate the omero metadata here. If it returns in the next version of the spec, it will be easy enough for us to put it back. |
It was definitely not my intention to remove it. I don't know how it got removed, but it should be put back in the doc and I think it should be validated the same way as in 0.4. Fwiw, it is still part of the json schema https://github.com/ome/ngff/blob/main/0.5/schemas/image.schema#L75 |
I know it seems very strict and harsh, but our intention with this project was always to follow the spec to the word - if words have gone from a versioned release, then we don't want to (and shouldn't) follow them, even if it happened by accident. After all, there's no way for other folks just reading the spec that there's an extra missing bit they should follow. |
I've opened an upstream issue here: ome/ngff#286 |
In version 0.5 of the spec, this block of text has gone:
Replaced with simply:
Does this mean we should stop validating the omero metadata like we did for 0.4, since it's no longer hard coded into version 0.5 of the OME-zarr spec?
The text was updated successfully, but these errors were encountered: