Skip to content

Use the charge state passed to ProForma.composition - #241

Merged
levitsky merged 3 commits into
levitsky:masterfrom
rpinho:fix-proforma-composition-charge
Nov 26, 2026
Merged

levitsky merged 3 commits into
levitsky:masterfrom
rpinho:fix-proforma-composition-charge

Conversation

@rpinho

@rpinho rpinho commented Nov 18, 2026 •

Copy link
Copy Markdown
Contributor

Passing a ChargeState to ProForma.composition can omit its adduct or use the charge written in the sequence. Pass the charge from PEPTIDE/[Na:z+1] to PEPTIDE/2 to see the proton composition returned. Add the composition from the charge state passed to the method. The test checks sodium and zero-charge overrides and compares the sodium composition mass with the ion m/z.

🤖 Generated with Claude Code

https://claude.ai/code/session_01LKxc9GKLwnyeV2jaZBxH9N

@levitsky
levitsky merged commit 56e307f into levitsky:master Nov 26, 2026

@levitsky levitsky left a comment

Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

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

Thank you for catching!

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