-
Notifications
You must be signed in to change notification settings - Fork 1
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
Patch zarr reader for ome-zarr v0.4 plates #10
Conversation
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 changes are minimal and match my understanding of the evolution of the NGFF specification as well as bioformats2raw. Is there a way to test this functionally against a plate generated by a recent version of bioformats2raw
?
cellprofiler_core/utilities/zarr.py
Outdated
mapper = {} | ||
if 'column_index' in well_data[0]: | ||
# Standard format | ||
# v0.2 format |
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.
For completeness, I would slightly update this coment.
https://ngff.openmicroscopy.org/0.2/index.html#plate-md does not mandate any metadata for the row/column index. The keys detected by this utility were populated by bioformats2raw 0.4.0
In version 0.4 of the NGFF specification, columnIndex/rowIndex
are required attributes for each element of the wells
array
@sbesson How about this? Functional testing is difficult until we compile this into a full CellProfiler build. At that point we should be able to test by just dropping a .zarr root folder into the CP GUI. |
@DavidStirling we have a wheel built as a part of the process so we should be able to test the CLI no? |
You're right, but the CLI isn't much use without the main program modules. Perhaps install the wheel with the latest gs cellprofiler version and run it from there? |
Yes, please. |
Test command: Test with zarr.v2:
Test with zarr.v4:
|
Format for the indexing keys differs from older versions e.g.
column_index
->columnIndex