schema: fix reference to axes to use URLs, too - #203
Conversation
Automated Review URLs |
|
I was also just looking at the 0.5 branch, where In fact, I don't see a compelling reason why the axes.schema has to be its own file (that a schema resolver would need to find) in the first place. If nothing speaks against it, I could inline the axes.schema into the coordinate_systems.schema in a follow-up PR. Unless I end up breaking the validator or something like that |
|
@jo-mueller Currently, the validator will try to load a |
lubianat
left a comment
There was a problem hiding this comment.
I don't have the complete background, but it is self contained and I trust @jo-mueller with the decision.
|
Thanks, this is fixed for v0.6. It's still unchanged for v0.6.dev4 at https://raw.githubusercontent.com/ome/ngff-spec/0.6.dev4/schemas/coordinate_systems.schema but that's kinda minor issue now. |
|
https://deploy-preview-86--ome-ngff-validator.netlify.app/?source=https://radosgw.public.os.wwu.de/rfc5-transform-test-data/P2A_B6_M2_Scene_2.ome.zarr/ is giving an error: Which I haven't fully debugged, but I think is due to the different ways that schemas are referenced in This has various refs: The last 2 should probably look like: |
|
I think this should be fixed once ome/ngff#612 is merged. Currently, I think there's nothing on the ngff page that serves 0.6 schemas, because version 0.6 is available neither as a tag or a submodule.
|
|
OK, happy to wait and see, but even the raw schema https://github.com/ome/ngff-spec/blob/main/schemas/scene.schema has these different refs, similar to what was fixed in this PR above. |
ome#203 Co-Authored-By: Johannes Soltwedel <38459088+jo-mueller@users.noreply.github.com>
Pointed out by @will-moore more here. The reference to the axes schema doesn't use the correct format because
axesare not defined in the same schema document. This likely will need to be fixed for 0.1 .... 0.5 as well.Edit: The axes schema doesn't sit in its own document for version 0.1...0.5, so this doesn't need to be backported 👍