V2-09 continuation (epic #402; follow-up from #509). Target branch: master.
Dependency-injection restructuring of CellpyCell (the long-standing note at
the top of the class: "Use dependency injection to separate concerns
better!"). This is the architectural tail of V2-09: after the mechanical
extractions (capacity_curves in #509; exporters and split/drop in their
follow-ups), decide what CellpyCell.__init__ should own vs receive
(instrument factory, core seam, config access), and how the extracted modules
are wired.
Design-first: needs a short plan/ADR in .issueflows/04-designs-and-guides/
before code. Keep test_slim.py (core-seam acceptance) green throughout.
V2-09 continuation (epic #402; follow-up from #509). Target branch:
master.Dependency-injection restructuring of
CellpyCell(the long-standing note atthe top of the class: "Use dependency injection to separate concerns
better!"). This is the architectural tail of V2-09: after the mechanical
extractions (capacity_curves in #509; exporters and split/drop in their
follow-ups), decide what
CellpyCell.__init__should own vs receive(instrument factory, core seam, config access), and how the extracted modules
are wired.
Design-first: needs a short plan/ADR in
.issueflows/04-designs-and-guides/before code. Keep
test_slim.py(core-seam acceptance) green throughout.