Skip to content
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

Try bfio #14

Open
joshmoore opened this issue Sep 3, 2021 · 5 comments
Open

Try bfio #14

joshmoore opened this issue Sep 3, 2021 · 5 comments

Comments

@joshmoore
Copy link
Member

see: https://pypi.org/project/bfio/

@Nicholas-Schaub
Copy link

Hey, I am the lead developer of bfio. I would be happy to contribute in any way. We are in the process of upgrading our ome zarr spec. It's not a complete implementation, but we are updating the way we handle metadata since there wasn't a clear approach to doing it when we first created it.

@joshmoore
Copy link
Member Author

Hey @Nicholas-Schaub! Thanks for stopping by. A first question: do you have reader & writer implementations?

@Nicholas-Schaub
Copy link

Nicholas-Schaub commented Feb 10, 2022

Yes, but they are from v0.1. We are in the process of updating now. When that spec came out, the Bioformats raw converter was just dumping the ome xml into the same directory, which did not work for us. We ended up storing the metadata as zarr attributes, but I see that you are now storing the file inside zarr, which I think is an excellent solution.

Also, our implementation is not a complete implementation. We don't support things like the hcs structure or multiple images. That's primarily because we don't have a need for them on our platform. I think based on the files you have here, I think our implementation (when finished updating) should pass.

In the future we will probably do a full implementation since we generally deal with HCS data, but we are in the process of converting from ome tiff to ome zarr, and are maintaining a one image per file standard for now.

@Nicholas-Schaub
Copy link

Nicholas-Schaub commented Apr 18, 2022

@joshmoore Hey. I'm starting to integrate this as a submodule into bfio, develop unit tests, etc. Should v0.3 and v0.4 data have OME XML? It appears as though v0.1 and v0.2 both have OME XML, but these are missing for the other versions.

Is OME XML missing from the OME NGFF spec? Is this something that is going to be added? Is there some convention you plan on using even if not formally defined in the spec?

@joshmoore
Copy link
Member Author

Should v0.3 and v0.4 data have OME XML?

Hi @Nicholas-Schaub. bioformats2raw has produced the OME-XML for most if not all versions but it's not considered part of the specification to date. ome/ngff#104 is looking to add that support. I'd assume that an implementation SHOULD (per RFC 2119) ignore the OME-XML. The result of that is that an implementation then treats individually numbered subdirectory as a standalone OME-Zarr.

Is OME XML missing from the OME NGFF spec? Is this something that is going to be added? Is there some convention you plan on using even if not formally defined in the spec?

Yes. Yes. Yes. 🙂 per 104.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants