Closed will-moore closed 1 year ago
Name | Link |
---|---|
Latest commit | d4a61e148d8009665f7555c3abcb84b40478cac0 |
Latest deploy log | https://app.netlify.com/sites/ome-ngff-validator/deploys/63514f8290c3b60008285b73 |
Deploy Preview | https://deploy-preview-15--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.
Previously I was incorrectly using
if contents[0]
to check ifcontents
was a list. This returnsFalse
if the first item in the list is False.See https://ome.github.io/ome-ngff-validator/?source=https://uk1s3.embassy.ebi.ac.uk/idr/zarr/v0.4/idr0101A/13457539.zarr where the
translation
list is rendered instead as a dict.Fixed by using
Array.isArray()
: deployed at https://deploy-preview-15--ome-ngff-validator.netlify.app/?source=https://uk1s3.embassy.ebi.ac.uk/idr/zarr/v0.4/idr0101A/13457539.zarrAlso tweaked the indent of list items.