Commit a0c61d6
Fix ZarrParser when zarr store is nested inside object store root
ZarrParser.__call__ was discarding the store-relative path from
registry.resolve(), causing two bugs with nested stores:
1. open_group_async couldn't find the zarr group within the store
2. Chunk manifest paths were doubled (e.g. subdir/data.zarr/subdir/data.zarr/temp/0.0)
Now correctly uses the store-relative path for group opening and the
store root URI for chunk path construction.
Note: also requires zarr-developers/zarr-python#3657 (on zarr main,
not yet released) which fixes ObjectStore.list_dir corrupting directory
names.
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>1 parent 3cb3ef7 commit a0c61d6
2 files changed
Lines changed: 38 additions & 4 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
517 | 517 | | |
518 | 518 | | |
519 | 519 | | |
520 | | - | |
521 | | - | |
| 520 | + | |
| 521 | + | |
522 | 522 | | |
| 523 | + | |
| 524 | + | |
| 525 | + | |
| 526 | + | |
| 527 | + | |
| 528 | + | |
| 529 | + | |
| 530 | + | |
523 | 531 | | |
524 | 532 | | |
525 | | - | |
526 | | - | |
| 533 | + | |
| 534 | + | |
527 | 535 | | |
528 | 536 | | |
529 | 537 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
495 | 495 | | |
496 | 496 | | |
497 | 497 | | |
| 498 | + | |
| 499 | + | |
| 500 | + | |
| 501 | + | |
| 502 | + | |
| 503 | + | |
| 504 | + | |
| 505 | + | |
| 506 | + | |
| 507 | + | |
| 508 | + | |
| 509 | + | |
| 510 | + | |
| 511 | + | |
| 512 | + | |
| 513 | + | |
| 514 | + | |
| 515 | + | |
| 516 | + | |
| 517 | + | |
| 518 | + | |
| 519 | + | |
| 520 | + | |
| 521 | + | |
| 522 | + | |
| 523 | + | |
498 | 524 | | |
499 | 525 | | |
500 | 526 | | |
| |||
0 commit comments