Repository navigation
Clean up legacy compat, dead code and duplication left by the protein/parametrization/mdp stack - #69
Conversation
Implementation PlanAnalysisThe protein, Amber, parametrization-spec and mdp stack (PR 59, PR 63, PR 65, PR 67) is merged into Main points from the exploration:
DeliverablesOne PR into
Acceptance criteria
Files to create or modify
Testing approachNew tests
Updated tests
Evidence beyond CI (
Risks and open questions
Plan created by mach6 |
…rametrization/mdp stack Behaviour-neutral: hashes, generated mdps, topologies and cache layouts are unchanged. - Remove Settings.DEFAULT_CONFIG, the docs migration section, identity(), run_build_from_file, write-only GromacsProteinParameterSet fields and the charmm36m-ljpme registry entry; make default-only parameters constants - Require forcefield/chains/forcefield_types/out_path; report a missed LNP density target through loguru - Share topology walkers (iter_topology_entries, iter_includes), the native species table, unit constants, the simulation-type definition and the build_metadata reader - Pass the minimum GROMACS version as a tuple; drop the small_molecules_model ClassVar and the OpenFF protein override - Factor the builder helpers (engine functions, solvation, bounding box, protein topology staging) out of build.py - Consolidate test fixtures and merge duplicated spec rejection/frozen tests
Progress UpdateAll six plan stages are implemented in one commit (the stages overlap in files). No review has been run. Changes
Kept local on purpose: Acceptance evidence
Commit: Progress tracked by mach6 |
gregorweiss
left a comment
There was a problem hiding this comment.
thanks for the refactoring
Unverified Review Candidates — Pending AssessmentReview round: 1
Emphasis requested: simplification. CriticalNone. Important
Suggestions
Strengths
Agents run: simplifier, code-reviewer, error-auditor (no findings), test-reviewer, completeness-checker Reviewed by mach6 |
Review AssessmentFindings comment: #69 (comment) Round 1, reviewed commit 20b1571. Independent assessor ran alone; the parent adjudicated finding 4 (see below). Classifications
Action PlanNo merge blockers. Assessment by mach6 |
Closes #68
Behaviour-neutral cleanup after the protein, Amber, parametrization-spec and mdp stack (PR 59, PR 63, PR 65, PR 67). It removes compatibility leftovers, dead or write-only code and duplication flagged by the round 3 composite review on PR 59. This is a clean cut: no aliases, fallbacks or migration text. Generated mdps, build hashes, topologies and cache layouts stay identical.
Release-notes line: the old
parametrization: cgenff | smirnoff | pdb2gmxvalues and theparametrization_configblock were removed in the previous release. Useparametrization.familywithprotein,small_moleculesandwater_model.The implementation plan is posted as a comment below.