-
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
OME-Zarr and HCS writers #16
Conversation
Thanks for the fast fix! This is now working as I expect:
but the
|
Minor: when I run |
Yes. This is a pitfall of |
This is (some what) intended. |
Okay great... Your current
I'm asking about these specifically because they are very common parts of my workflows. My day-to-day usage of the readers involves (in order of frequency):
I'm completely fine with deprecating or changing |
For For |
Okay so it seems that the Regarding |
@ziw-liu do you have an anticipated timeline or todo list before this merges? If you want me to give this a detailed pass through at the line-by-line level I can. Or we're still a few weeks out then I can wait. |
My intention was to keep this PR minimally-invasive (already quite a bulky one with ~2k lines changed though) and get to the point where the writer feature can be a non-blocking dependency for On my end, I would like to see:
|
|
Thanks for clarifying, also linking the discussion in #18. |
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 example runs well on my M1 and I can view data in napari. My main input is on making the API intuitive. I will repeat this for single position zarr store (aka OMEZarr).
# Write to the positions | ||
|
||
for pos in positions: | ||
p = writer.require_position(*pos) |
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.
writer.set_position
would be more intuitive than writer.require_position
.
Given #19, I think we can merge this with minimal code review (just to make sure that nothing looks crazy), and proceed with implementing the proposed API. |
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.
The majority of feedback from this PR and the offline discussion is summarized in #19.
This PR aims to update the writer so that the output datasets are compliant with the latest OME-NGFF specification. Fixes #3.
Secondary goals include: