CZI: use alternate source for well identifiers when available #4145
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.
Backported from a private PR. This fixes Image/Well mapping for "meander" acquisitions.
Several of our existing test plates are affected, see the forthcoming configuration PR which includes video of the affected data in ZEN. Without this PR,
showinf -nopix -omexml
on the affected plates should show that each row of wells starts at the left-most (smallest index) column and proceeds to the right-most (largest index) column. With this PR, the same command should show that rows alternate between left-to-right and right-to-left column indexing. The order of rows is unaffected.This is a really subtle problem and not obvious from visually inspecting the images or even a cursory look at ZEN. Even a basic stitching workflow wouldn't necessarily have picked this up. It's really only obvious when carefully scrolling through each image in ZEN, so reviewing the videos in the configuration PR is important.
Importantly, well metadata can exist in multiple places in CZI datasets, and appears to not necessarily be consistent. That might reflect the physical plate vs the actual acquisition, and can be seen by looking at the original metadata (look for names like
A1
and IDs like1-1
).Added to 7.2.0 for a first look, but since this is a later addition I'm OK with it being bumped to the next milestone if needed.