Skip to content

v9 meta archive helpers + campaign round-trip — #510 Milestone B#522

Merged
jepegit merged 1 commit into
masterfrom
510-v2-meta-persistence-milestone-b
Jul 17, 2026
Merged

v9 meta archive helpers + campaign round-trip — #510 Milestone B#522
jepegit merged 1 commit into
masterfrom
510-v2-meta-persistence-milestone-b

Conversation

@jepegit

@jepegit jepegit commented Jul 17, 2026

Copy link
Copy Markdown
Owner

Summary

  • Add cellpy-owned save_meta_archive / load_meta_archive (cellpy.readers.cellpy_file.meta_archive). Core save_archive / load_archive stubs stay stubs.
  • Share the meta document between standalone archives and v9 meta.json.
  • Preserve campaign test_id columns on steps/summary across v9 save/load (strip only injected columns).
  • Essential tests for archive round-trip and two-test campaign .cellpy persistence.

Part of #510. Milestone B only — do not close #510 yet. Remaining: C (exact cellpycore== pin + migration guide + release).

Test plan

  • uv run pytest tests/test_meta_archive.py tests/test_cellpy_file_v9.py tests/test_merge_campaign.py::test_campaign_v9_roundtrip_preserves_tests_and_test_id -q
  • uv run pytest -m essential
  • Spot-check: campaign-merge two cells → save("out.cellpy") → reload → both tests + test_id columns present

Made with Cursor

Milestone B: save_meta_archive/load_meta_archive live in cellpy (core stubs
stay stubs); v9 preserves campaign test_id columns on steps/summary.

Co-authored-by: Cursor <cursoragent@cursor.com>
@cursor

cursor Bot commented Jul 17, 2026

Copy link
Copy Markdown

Bugbot is not enabled for your account, so this pull request was not reviewed.

Enable Bugbot in the Cursor dashboard to get automatic reviews on future PRs.

@jepegit
jepegit merged commit 3caad42 into master Jul 17, 2026
4 checks passed
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.

v2: cellpy file format v2 + metadata persistence + release (V2-13/14/15)

1 participant