Skip to content

fix filter_constrained_rotors to exclude axis atom from movability check#2

Merged
corinwagen merged 2 commits intomasterfrom
feature/constrained-conformer-update
Apr 10, 2026
Merged

fix filter_constrained_rotors to exclude axis atom from movability check#2
corinwagen merged 2 commits intomasterfrom
feature/constrained-conformer-update

Conversation

@zfried
Copy link
Copy Markdown
Contributor

@zfried zfried commented Apr 10, 2026

Bond-axis atoms (atom_i and atom_j) sit on the rotation axis and never physically move during SetDihedralDeg, so they should not disqualify a rotor. This allows boundary-attachment bonds at the edge of a pinned scaffold to be kept when only the distal fragment is free.

zfried added 2 commits April 10, 2026 10:05
Bond-axis atoms (atom_i and atom_j) sit on the rotation axis and never
physically move during SetDihedralDeg, so they should not disqualify a
rotor. This allows boundary-attachment bonds at the edge of a pinned
scaffold to be kept when only the distal fragment is free.
@corinwagen
Copy link
Copy Markdown
Member

Looks good, thanks for this fix!

@corinwagen corinwagen merged commit 0b8ea76 into master Apr 10, 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.

2 participants