Repository navigation
onnx-infer: MS2 flat extraction decodes summed N-terminal + residue deltas - #146
Merged
Merged
Conversation
|
ⓘ Qodo reviews are paused because the subscription is no longer active. Ask your workspace admin to reactivate the subscription to resume reviews. Manage billing |
|
Warning Review limit reachedYou've used all free OSS reviews for now. Wait for the free limit to reset to keep reviewing this public repository. Next included review available in 50 minutes. View limit details
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
ypriverol
added a commit
that referenced
this pull request
Oct 14, 2026
…conflicts resolved in #147, whose squash dropped main from the history)
timosachsenberg
pushed a commit
that referenced
this pull request
Oct 14, 2026
Brings in #143 (positional-isomer collapse) and #146. Their new Modification literals get the annotated_site_mass field. Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_01YGVQwwWjsRmmTgxNhQS8jk
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Problem: andes writes stacked N-terminal + residue mods as one summed delta (e.g. fixed carbamidomethyl-C plus N-terminal acetyl as C+99.03203). RT parsing decodes this via split_nterm_residue; ms2_extract_flats.parse_flat only used match_mass, so such rows were discarded as unmapped.
Fix: parse_flat falls back to the shared mod_composition.split_nterm_residue for a residue-1 delta (when no separate n-term delta is present).
Test: test_flats_decode_summed_nterm_plus_residue_delta uses the string from fixtures/andes_writer_peptides.tsv; asserts Acetyl(0)+Carbamidomethyl(1), row kept, C-terminal amidation still decodes, bad delta still None. RED before the fix, GREEN after. Full scripts pytest: 17 passed. No Rust changes.