Skip to content

recorded_precursor_ms1 on both readers - #23

Merged
lfu46 merged 2 commits into
mainfrom
recorded-precursor-ms1
Oct 14, 2026
Merged

lfu46 merged 2 commits into
mainfrom
recorded-precursor-ms1

Conversation

@lfu46

@lfu46 lfu46 commented Oct 14, 2026

Copy link
Copy Markdown
Owner

The MS1 scan the instrument recorded for an MSn scan (spectrumRef), with a stated fallback reason; parity between MzMLReader and SpectrumCache tested on a hand-written mzML.

🤖 Generated with Claude Code

lfu46 and others added 2 commits October 14, 2026 11:36
…ed, with the fallback reason

MzMLReader now reads the precursor's spectrumRef (the cache already stored it). The
recorded scan is used when it exists and is MS1; otherwise the nearest earlier MS1 is
returned with 'nearest_preceding:<reason>'. find_best_ms1 (strongest of the neighbours)
is unchanged. Tested on a hand-written mzML and the cache built from it.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@lfu46
lfu46 merged commit 68c39b1 into main Oct 14, 2026
2 checks passed
@lfu46
lfu46 deleted the recorded-precursor-ms1 branch October 14, 2026 15:39
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