-
Notifications
You must be signed in to change notification settings - Fork 7
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
Universal reader output base classes #132
Conversation
@ziw-liu I reviewed what you mentioned about the This might be a case where the ClearControl (maybe TIFF too) API differs from the I need to think a bit more about this, from my understanding a zarr FOV is |
@JoOkuma We don't need Also just to clarify I was talking about For |
Got it, I updated it accordingly. |
Co-authored-by: Ziwen Liu <[email protected]>
Co-authored-by: Ziwen Liu <[email protected]>
Co-authored-by: Ziwen Liu <[email protected]>
Co-authored-by: Ziwen Liu <[email protected]>
Also we should figure out how the consequent PRs should merge. It's fine if this one merges into main but if we keep the refactoring of readers atomic and distributed, asynchronously merging into main will result in a broken default branch. Maybe make a new target branch (e.g. |
I like the idea of having a separate branch. I'm happy to take a few days next week and be done with it. I'm free after next Wednesday, but I'll need help with |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This all LGTM! Thank you guys. I like the BaseCollectionFOV
as an iterable that we can use to access individual positions.
A couple of points just to make sure this will behave as intended.
- For this universal reader, we will call
BaseFOV[0,0,0]
this will return a (1,1,1,Z,Y,X) 5D array?
My understanding is that it will behave as normal array slicing does. So YX (2D) in this case. Edit: assuming you meant |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks great to me! I'm excited.
Thanks for pushing on this @JoOkuma.
@ziw-liu, I renamed files from |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good!
Co-authored-by: Ziwen Liu <[email protected]>
Thanks y'all. |
Hi, this is a work in progress for the base classes so we can advance with the universal reader.
I'm happy to iterate and get feedback from every to have a friendly interface.
I think we could be more restrictive than ome-zarr in some aspects; this would reduce the number of edge cases we need to worry about when implementing our own pipelines (e.g. fixing the shape to 5 and 6)