Skip to content

feat(batch): load custom/BatBase JSON with file search (#345) - #811

Merged
jepegit merged 1 commit into
masterfrom
345-batch-custom-json
Jul 31, 2026
Merged

feat(batch): load custom/BatBase JSON with file search (#345)#811
jepegit merged 1 commit into
masterfrom
345-batch-custom-json

Conversation

@jepegit

@jepegit jepegit commented Jul 31, 2026

Copy link
Copy Markdown
Owner

Summary

  • Route cellpy.batch.load(journal_file=..., db_reader=custom_json_reader|batbase_json_reader) through Batch.from_db so post-read file search populates raw/cellpy paths.
  • Accept reader= as an alias for db_reader=; document skip_file_search on journal_from_db.
  • Facade tests for custom + BatBase JSON load paths.

Closes #345

Test plan

  • uv run pytest tests/test_batch_v3_facade.py
  • uv run pytest tests/test_batch.py::test_load_with_explicit_custom_json tests/test_batch.py::test_load_with_explicit_batbase_json
  • CI essential gate on the PR

Made with Cursor

Route cellpy.batch.load(journal_file=..., db_reader=...) through from_db so
downloaded JSON journals get raw/cellpy paths via find_files (#345).

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

cursor Bot commented Jul 31, 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 fedfdcb into master Jul 31, 2026
8 checks passed
@jepegit
jepegit deleted the 345-batch-custom-json branch July 31, 2026 13:43
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.

batch - read custom json

1 participant