Support making bioformats2raw collection from /0 /1 etc #27
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
I modified the zarr_ome_xml.py script a bit to generate a bioformats2raw.layout and
/OME/METADATA.ome.xmlfor a collection of images...idr0079_images.zarr.zattrsof each to setmultiscales[0]["name"]field to preserve the name.idr0079_images.zarr/0andidr0079_images.zarr/1etcThat goes through
/0, /1, /2etc and collects these images into/OME/METADATA.ome.xml.It also creates
idr0079_images.zarr/.zgroupandidr0079_images.zarr/.zattrswith{"bioformats2raw.layout": 3}so that this is recognised as such.The output of this is uploaded at:
https://ome.github.io/ome-ngff-validator/?source=https://uk1s3.embassy.ebi.ac.uk/idr/zarr/v0.4/idr0079A/idr0079_images.zarr
and also imported into merge-ci OK.