-
Notifications
You must be signed in to change notification settings - Fork 3
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
Implement bioformats2raw structure #50
Conversation
9798766
to
7794f4a
Compare
7794f4a
to
b9fad79
Compare
On the pydantic side of the codebase, we can implement this with a function that tries validation of the different flavors of zarr group, from most specific to least specific, and returns the first class that matches? |
Co-authored-by: Davis Bennett <[email protected]>
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.
lgtm!
Implements the parts of #31 that do not require parsing XML files (🙈) or zarr groups.
I think the intention of the spec is to have this as another "type" of dataset, alongside HCS and Image, even though it is defined in section 3 (not 2) of the spec. This agrees with the JSON scheme ipmlementaiton being in it's own file for bioformats2raw.
So I've put it in the
ome_zarr_models.v04
namespace, and I think (for now) we are expecting users to know in advance whether they have a HCS, Image, or BioFormats2Raw dataset? I guess we could provide a convenience function to try work out which of these an arbitrary dataset is, but that should go in a separate PR