CZI: Pad scene number and switch to 1 indexed #3610
Merged
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.
This request was raised in forum thread https://forum.image.sc/t/scene-numbering-in-omero-from-multi-scene-czi-files/41794
The PR switches the image name which is Scene #0, Scene #1 etc to be 1 indexed. It also adds zero padding when necessary.
As far as I can find we only have 2 datasets in the repo which use this scene number and unfortunately both only have a single digit number of scenes.
To test you can use either of the below:
The updated value can be seen when viewing the Image Name in the OME-XML using (note noflat must be set) :
showinf -noflat -nopix -omexml path/to/file.czi