Skip to content

fix(package): Bump bio-forge to 0.4.1 to Fix N-Terminal PRO Hydrogen Geometry#21

Merged
TKanX merged 1 commit intomainfrom
bugfix/19-n-terminal-pro-wrong-sp3-hybridization-in-bio-forge-causes-dreid-typer-atom-type-failure
Mar 28, 2026
Merged

fix(package): Bump bio-forge to 0.4.1 to Fix N-Terminal PRO Hydrogen Geometry#21
TKanX merged 1 commit intomainfrom
bugfix/19-n-terminal-pro-wrong-sp3-hybridization-in-bio-forge-causes-dreid-typer-atom-type-failure

Conversation

@TKanX
Copy link
Copy Markdown
Member

@TKanX TKanX commented Mar 28, 2026

Summary:

bio-forge ≤0.4.0 incorrectly assigns primary-amine sp³ geometry to every N-terminal residue, over-placing one hydrogen on PRO's secondary amine nitrogen. The spurious H inflates the nitrogen degree seen by dreid-typer, causing atom-type assignment to fail for any structure with an N-terminal PRO. Bumps bio-forge to 0.4.1 to pull in the upstream fix.

Changes:

  • Bumped bio-forge to 0.4.1 in Cargo.toml

@TKanX TKanX self-assigned this Mar 28, 2026
@TKanX TKanX added the bug 🐛 Something isn't working label Mar 28, 2026
Copilot AI review requested due to automatic review settings March 28, 2026 08:04
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR aims to resolve incorrect N-terminal PRO hydrogen placement (which breaks dreid-typer atom-type assignment) by bumping the bio-forge dependency to pull in an upstream fix.

Changes:

  • Bump bio-forge dependency from 0.4.0 to 0.4.1 in Cargo.toml.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@TKanX TKanX merged commit 3c2295c into main Mar 28, 2026
6 checks passed
@TKanX TKanX deleted the bugfix/19-n-terminal-pro-wrong-sp3-hybridization-in-bio-forge-causes-dreid-typer-atom-type-failure branch March 28, 2026 08:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug 🐛 Something isn't working

Projects

None yet

Development

Successfully merging this pull request may close these issues.

N-Terminal PRO Wrong sp³ Hybridization in bio-forge Causes dreid-typer Atom-Type Failure

2 participants