Skip to content

docs: how-to guide for pulling cell metadata from a lab database (BatBase) (#1023) - #1108

Merged
jepegit merged 1 commit into
masterfrom
docs-metadata-sources-guide
Sep 26, 2026
Merged

jepegit merged 1 commit into
masterfrom
docs-metadata-sources-guide

Conversation

@jepegit

@jepegit jepegit commented Sep 26, 2026

Copy link
Copy Markdown
Owner

Iteration 11 of #1023.

Persona / trigger: battery scientist whose mass, area, nominal capacity and cell type live in BatBase, not in the cycler file; has just heard fetch_meta exists (#784 / cellpy-connectors#9) and finds nothing in the user docs.

Added: docs/guides/metadata_sources.md — what you get, install the connector, store credentials once (cellpy connectors configure batbase, env fallback, check), the four key kinds, refresh_after, external_links provenance, BatBase → cellpy field/unit map, symptom-indexed troubleshooting, batch outlook (#1107), pointer to the API reference for plugin authors.

Wired: zensical.toml nav, guides/index.md, how_do_i.md ("…get mass, area and nominal capacity from our lab database?"), docs/llms.txt, HISTORY.

Verified against code: every snippet was run against the local BatBase dev server earlier today (round-trip in cellpy-connectors#9 / ife-bat/batbase#475); error/warning wording checked against metadata_sources/registry.py. Found and fixed one adapter wrinkle on the way (cellpy-connectors#10: cycle_mode="full" → full_cell).

Build: uvx --with mkdocstrings-python zensical build --clean → "No issues found"; check_docs_relative_links.py and check_rtd_latest_links.py pass.

Made with Cursor

…Base) (#1023)

Persona: scientist whose mass/area/nom_cap live in BatBase, not in the
cycler file. Covers installing cellpy-connectors, storing credentials
(keyring / env), fetch_meta key kinds, refresh_after, external_links,
the BatBase -> cellpy field and unit map, and symptom-indexed
troubleshooting. Wired into guides/index.md, how_do_i.md, llms.txt and
zensical.toml navigation.

Co-authored-by: Cursor <cursoragent@cursor.com>
@jepegit
jepegit merged commit f2626ab into master Sep 26, 2026
5 checks passed
@jepegit
jepegit deleted the docs-metadata-sources-guide branch September 26, 2026 15:08
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