Repository navigation
Refactor parametrization into per-component force-field specs - #65
Conversation
Implementation PlanStack: Decisions settled in planning (with the user)
Problem analysis
Target schema (deliverable contract)parametrization:
family: amber # charmm | amber | openff (required)
protein: amber14sb # protein types only
small_molecules: # not allowed for proteinbox
forcefield: openff-2.2.0.offxml
charge_method: openff-gnn-am1bcc-0.1.0-rc.3.pt
water_model: tip3p
# shorthand: `parametrization: amber` takes every component's family default
Deliverables
Acceptance criteria (mapped to the issue)
Files to create or modify
Testing approachNew tests are named without "build" so they run under
Risks and open questions
Out of scope
Plan created by mach6 |
Replace the flat parametrization string and parametrization_config with a required family spec (charmm | amber | openff, or shorthand) that names the protein, small-molecule and water force fields and resolves per-type defaults. Move ignore_hydrogens/merge_all to system.protein. Key the OpenFF cache on force field + resolved charge method (water on the water model, ions on the force field) with provenance and a completion marker, lock the directory each parametrizer writes, rename OpenFF atom types to unique per-set prefixes, select run schedules by nonbonded_scheme, and store the family name in the run database. Update tests, docs and all examples.
Progress UpdateImplemented all plan deliverables in one commit.
Tests: Related pre-existing issues (not fixed): E2E results — per-component parametrization specs (issue 61), 2026-11-05Uncommitted working tree on top of d4ec008; jobs
All protein builds passed the grompp Not related to this change: Commit: Progress tracked by mach6 |
Unverified Review Candidates — Pending AssessmentReview round: 1
CriticalNone. Important
Suggestions
Strengths
Agents run: code-reviewer, error-auditor, test-reviewer, completeness-checker, simplifier Reviewed by mach6 |
Review AssessmentFindings comment: #65 (comment) Round 1 (independent assessor only). Reviewed commit Classifications
Action PlanNo merge blockers. No action required before merge. Assessment by mach6 |
Progress UpdateFixed the CI failure on this PR. Verified by simulating a missing CGenFF installation: the test failed before the change and passes after it. Commit: Progress tracked by mach6 |
571dedc to
6faf0a1
Compare
Closes #61
Replaces the flat
parametrizationstring andparametrization_configwith a required, nested per-component force-field spec (family: charmm | amber | openffplusprotein/small_molecules/water_modeloverrides). Also fixes the SMIRNOFF parameter-cache key, locking and atom-type naming.Stacked on #63 (base
feature/issue-60-amber-sage-protein-parametrization), which is itself stacked on #59.The implementation plan is posted as a comment below.