Skip to content

fix(editing): drive protonate fallback with pKa-based formal charges - #514

Open
JarrettSJohnson wants to merge 8 commits into
masterfrom
codex/issue-500-formal-charge-protonation
Open

fix(editing): drive protonate fallback with pKa-based formal charges#514
JarrettSJohnson wants to merge 8 commits into
masterfrom
codex/issue-500-formal-charge-protonation

Conversation

@JarrettSJohnson

@JarrettSJohnson JarrettSJohnson commented Jul 25, 2026

Copy link
Copy Markdown
Member

Summary

Use pH-dependent formal charges to drive fallback protonation before h_add, with correct handling for standard residue aliases, cysteine/disulfides, histidine, and partial selections.

Tests

  • Built with the project pixi toolchain.
  • Verified EHK hydrogen counts: 30/29/28/27 at pH 3.5/5.9/6.1/13.0.
  • Targeted protonation regressions, documentation, lint, and CI passed.

Fixes #500

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.

_protonate_fallback improvement with formal_charge

1 participant