-
Notifications
You must be signed in to change notification settings - Fork 55
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
write_multiscales does not expose additional metadata #176
Comments
@sbesson @will-moore @joshmoore |
From my side, this proposal largely overlaps with #171 (comment). 👍 for adding the API allowing to to store extra attributes at the I briefly looked at it in the context of #171 but I held off as I stumbled upon an API style question which I could not resolve (and did not capture):
It looks like there is room for unification here. The biggest issue I see with the second form would be the potential collision with other arguments. @glyg @satra @joshmoore The concern above might not be an immediate concern and I am happy to capture it as a separate issue. I just wanted to raise it before we start expanding the API in case you foresee it being a problem for your use case. |
Thanks for the comment @sbesson. I agree that there is a bit of a tension between just adding kwargs and adding new special purpose fields for things like labels etc. My initial thought would be the following: add For now this issue is not super urgent for my use-case since I added a work-around: https://github.com/ome/ome-ngff-prototypes/blob/main/workflows/spatial-transcriptomics-example/convert_transcriptomics_data_to_ngff.py#L44-L48. |
So is this effectively addressing #171? Or are there more steps to solve this use case? |
So I think we would need two things to address this:
I can take a shot at this if this sounds like a good plan to you, @will-moore @joshmoore @sbesson. |
The progression expressed above makes sense to me. |
Great! I will give it a go later. |
write_multiscales does not expose additional
metadata
as a argument, which could be used to e.g. add thename
field.Note that this is supported by write_image. I think that
write_multiscales
should be updated s.t. it also supports this.The text was updated successfully, but these errors were encountered: