Skip to content

Pass result codec context through bundle paths - #308

Open
hermabr wants to merge 1 commit into
mainfrom
clean-zarr-result-codec-paths
Open

Pass result codec context through bundle paths#308
hermabr wants to merge 1 commit into
mainfrom
clean-zarr-result-codec-paths

Conversation

@hermabr

@hermabr hermabr commented Jun 5, 2026

Copy link
Copy Markdown
Owner

Summary

  • Introduce ResultCodecContext to provide artifact and data-dir path helpers to codecs.
  • Thread codec context through result save/load flows, including nested and lazy bundles.
  • Update built-in and test codecs to use context.artifact_dir instead of raw artifact paths.
  • Add coverage for data-dir-relative path handling and lazy result resolution.

Testing

  • Not run (not requested).
  • Added/updated tests for codec context path resolution.
  • Added/updated tests for lazy result bundles using the top-level data directory.

- Introduce `ResultCodecContext` with artifact and data-dir helpers
- Thread object/data-dir paths through result save/load
- Update built-in and test codecs to use the new context
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.

1 participant