Skip to content

Conversation

@hongquanli
Copy link
Collaborator

Summary

Follow-up fixes for #25 discovered during Squid integration testing:

  • 6D array path: Use array_path="" instead of "0" for 6D mode (array is at root, not /0 subpath)
  • Store readiness check: Add zarr.json existence check for 6D regions mode to prevent errors during live acquisition when store hasn't been created yet

Context

These issues were found when testing the zarr v3 implementation in the actual Squid repo. Unit tests passed but real integration testing revealed:

  1. 6D zarr stores have the array directly at the root, unlike per_fov structure where it's at /0
  2. Store readiness check was added for per_fov mode but not for 6D regions mode

Test plan

  • Run simulate_zarr_acquisition.py --structure 6d_regions
  • Verify 6D regions mode loads correctly during live acquisition
  • Verify no "array not found" errors when switching between regions

🤖 Generated with Claude Code

- 6D mode: array is directly at acquisition.zarr, not at /0 subpath
- Add store readiness check for 6D regions mode (retry if zarr.json
  doesn't exist yet during early acquisition)

Ported from Squid repo testing.

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
@hongquanli hongquanli closed this Jan 25, 2026
@hongquanli hongquanli deleted the fix/zarr-v3-thread-safety branch January 25, 2026 23:28
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

Successfully merging this pull request may close these issues.

2 participants