Ready for 06 - #605
Conversation
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## master #605 +/- ##
==========================================
+ Coverage 86.46% 86.51% +0.04%
==========================================
Files 16 16
Lines 2365 2366 +1
==========================================
+ Hits 2045 2047 +2
+ Misses 320 319 -1 ☔ View full report in Codecov by Harness. 🚀 New features to boost your workflow:
|
| # Validate with ome-zarr-models-py: only supports v0.4 | ||
| Models04Image.from_zarr(out) | ||
| elif version.version == "0.5": | ||
| Models05Image.from_zarr(out) |
There was a problem hiding this comment.
Do we need to remove these checks?
There was a problem hiding this comment.
We don't have to, but since the metadata is essentially ingested with ome-zarr-models-py, we are kind of already validating on-the-fly
|
In order that the This creates a few failures which I haven't looked into yet.... |
right...I was hoping to remove the |
oh boy. Jep, quite a few. I think this requires a bit of refactoring until all functions that are writing data somehow are 0.6 compliant one way or another 🙈 |
|
@will-moore ok, this is turning out super-hard, because there are still more than writer paths (class-based, So my suggestion:
This way, we would get a few props
In the meantime, I would revert the changes here to dc07c55 (before the introduction of the |
|
Oh no. And tests are failing with something compression related 💀 |
|
Just trying to see what changed in the failing tests, looking at installed versions. Since the tests passed previously, |
|
Your suggestion sounds good. Re: deprecating Format classes - I see that |
Jep. My approach is to remove the metadata writing entirely from the
|
|
For now, I'll pin zarr-python<3.3.0 |
|
can you link me to a log with the test failures in it? |
|
got it, fix incoming |
zarr 3.3.0 changed codec configuration attributes such as `BloscCodec.cname` and `BytesCodec.endian` from `Enum` members to plain strings, breaking the `.name` accesses in the label writer storage options tests (12 failures). Add a `_codec_value` helper that normalizes both representations, so the tests pass against zarr 3.2 and 3.3 alike. Test-only change; the library code never accessed these attributes. Assisted-by: ClaudeCode:claude-opus-5
This reverts commit dcd3858.
|
Ok, will rebase on #609 or wait until that is in. |
@will-moore maybe one more thing before shipping the latest release. This PR
omeroandimage-label) would never be ingested in case a version 0.6x were encountered.Rebased on #609