Skip to content

add constraints + analogue mode#1

Merged
corinwagen merged 2 commits intomasterfrom
feature/analog
Apr 6, 2026
Merged

add constraints + analogue mode#1
corinwagen merged 2 commits intomasterfrom
feature/analog

Conversation

@corinwagen
Copy link
Copy Markdown
Member

Add FEP-docking-prep-style pose-constrained conformer generation. New entry point generate_conformers_from_pose(mol, constrained_atoms) seeds from an MCS-aligned conformer instead of ETKDG, filters the rotor model to only free terminal bonds, and pins core atoms via MMFF position restraints + exact coordinate reset after each minimization (zero drift). Global shake suppressed in this mode. New ConstraintSpec dataclass is the general hook for future constraint types.

Also adds "analogue" preset, 16 new tests, and docs in README/SCIENCE.md.

@corinwagen corinwagen merged commit 15cf125 into master Apr 6, 2026
1 check passed
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