-
Notifications
You must be signed in to change notification settings - Fork 11
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Reorder group keys #53
Conversation
Fix deployed and tested - looks good! See IDR/idr-metadata#652 (comment) |
👍 for this as improved behavior over the alphabetical sorting. Is there still a use for following exactly the the OME-XML ordering, e.g. if present then |
Yeah, that would be the goal to eventually have it match 100%, though at that point this becomes very specifically an intermediate between bf2raw and IDR/OMERO. |
I think I'm seeing an issue with an NGFF Plate that I imported without this PR (and viewed Images + thumbnails etc), then with the updated ZarrReader I'm seeing a ResourceError when trying to view Images. |
Importing a Plate |
Seeing error and failing tests coinciding with this being included in merge build.
Excluding for now... EDIT: with this excluded the build is passing, but with fix below, removing... |
There may be some issues observed on idr0125-pilot where ZarrReader was updated to a version that included this PR: I'll exclude this PR temporarily, then I can import some NGFF Plates into merge-ci to check their appearance after upgrade... and then running https://merge-ci.openmicroscopy.org/jenkins/job/Trigger/ .... EDIT: removed exclude flag after importing https://merge-ci.openmicroscopy.org/web/webclient/?show=plate-69301 This plate looks fine with this PR merged |
So it sounds like the new behavior is as intended, and the only remaining issue is how to ... warn/correct/replace the existing datasets that may have been imported with the previous behavior? |
If my test above is correct, then we don't need to replace or correct previously imported Filesets. I don't quite understand how reordering can fix previously imported Filesets (which appear incorrect because we've swapped the fileset with a pattern file plate) and not also break previously imported Filesets that haven't been swapped. |
Testing fresh NGFF Plate import with this PR fix at IDR/idr-metadata#643 (comment) |
Testing Fileset swap for idr0012 with this PR looks good. Validated by checking all pixel values for the whole study. However, I'm seeing a different re-ordering behaviour when swapping Fileset for idr0010 pattern file Plates: IDR/idr-metadata#641 (comment) |
Excluding to allow testing of the canonical path work (#57) |
The issue discovered with idr0010 was due to the original reader generating series in the unusual order described in IDR/idr-metadata#641 (comment) The original reordering was relying on a preset order 0f A1, A2, A3 ... B1, B2, B3 ... Latest commit modifies the reordering behaviour to maintain the original series ordering using the below logic:
|
EDIT - apologies - previous message was wrong. This is looking good on idr0012 data after |
This has been excluded for a while, and it looks like the issues are "fixed" in current workflows & testing, so I think we can close this PR - thanks |
This is an initial attempt to fix the issues seen in #52
This first commit still requires some further testing but I believe it should help to solve the main issue of the reordered wells.
I would like to make some further follow ups to this initial commit to fully bring the ZarrReader metadata inline with, particularly for the flat option which needs more work to keep the series ordering consistent.
--exclude