Closed will-moore closed 1 year ago
Name | Link |
---|---|
Latest commit | 58094dd2c62388bd5fb8f2e375dbf8ecdcb8f632 |
Latest deploy log | https://app.netlify.com/sites/ome-ngff-validator/deploys/6356cd12c609250008c85bf6 |
Deploy Preview | https://deploy-preview-16--ome-ngff-validator.netlify.app/ |
Preview on mobile | Toggle QR Code...Use your smartphone camera to open QR code link. |
To edit notification comments on pull requests, go to your Netlify site settings.
Nice, @will-moore! I got some "Error loading" messages from the URLs above.
Also: it might be worth considering how we maintain multiple validators for these non-json-schema constraints. Would defining "rule numbers" for each of them be feasible/useful?
I got some "Error loading" messages from the URLs above.
As expected! The "Error loading" is what you get if you use an invalid version, since we use the version to construct the schema URL. We don't try to maintain a list of all valid versions in this tool. I guess we could try to handle that 404 with a more custom message.
Other errors for the other test URL are also expected (violations of rules 1, 2, 3 & 4.
For me, "error loading" meant something like "the data is not accessible". :+1: for "incompatible version: ${version}", etc.
@joshmoore: better?
Sorry, wrong image - this is the right one...
I like it! Thanks.
One last thing: did the file for "4: dtype mismatch" get deleted?
Hmmm - not sure why that got deleted. But here's another with the same dtype issue: https://deploy-preview-16--ome-ngff-validator.netlify.app/?source=https://minio-dev.openmicroscopy.org/idr/v0.4/idr0077/9836832_z.zarr
This PR validates a few things that aren't checked by the schema validation:
/
when version is 0.2-0.4To test:
NB: This currently asserts that the dtypes are all equal for
v0.4
(so this PR can be tested). Need to revert to testingv0.5
and above BEFORE merging!For other tests above, we really need some invalid sample data available... Might try to make some...
cc @constantinpape