Skip to content

Fix the Y0-H2O sign in GLYCAN_Y_LOSSES - #20

Merged
lfu46 merged 1 commit into
mainfrom
y0-water-sign
Oct 14, 2026
Merged

lfu46 merged 1 commit into
mainfrom
y0-water-sign

Conversation

@lfu46

@lfu46 lfu46 commented Oct 14, 2026

Copy link
Copy Markdown
Owner

GLYCAN_Y_LOSSES put the Y0-H2O ion at Y0 + H2O/z. The loss is glycan + H2O. New test asserts Y0 - (Y0-H2O) = 18.0106/z at z = 1, 2.

🤖 Generated with Claude Code

The table listed the Y0-H2O loss as glycan - H2O, so calculate_Y_ions put the
ion labelled Y0-H2O at Y0 + H2O/z, 36.02 Da above its target. The loss is
glycan + H2O. Same defect and fix as GlycoSpectrumAnnotator's copy.

Found by the OGlyco_DBA GPT toolchain review (finding 11). Verified: the new
test fails before the fix and passes after; the full suite passes (258).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@lfu46
lfu46 merged commit 522940d into main Oct 14, 2026
2 checks passed
@lfu46
lfu46 deleted the y0-water-sign branch October 14, 2026 10:33
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