Repository navigation
[API,IO,FIX] Preserve Thermo metadata through mzML conversion - #10072
Closed
timosachsenberg wants to merge 2 commits into
Closed
timosachsenberg wants to merge 2 commits into
timosachsenberg wants to merge 2 commits into
Conversation
Consume the Thermo bridge metadata snapshots and preserve source/sample/method, scan, precursor, instrument and auxiliary detector information through mzML. Add configurable native charge/noise/PDA exports, instrument configurations, MSn/SPS reconstruction, Python options and regression coverage. Address the second review's precursor intensity, isolation-offset, supplemental activation and acquisition-representation cases. Pin native and managed bridge sources to published revision 4c0edddf5a49879e0470b0ca08cfe9955ceba3c9; use its verified archive checksum in the vcpkg overlay. Bridge and standalone precursor tests pass; core and class-test syntax checks pass. Full OpenMS round-trip and Python runtime validation remain CI gates.
5 tasks done
Contributor
Author
|
Superseded by #10077, which carries these two commits merged with Generated by Claude Code |
Contributor
Author
|
Closing in favour of #10077, which contains this work rebased onto Generated by Claude Code |
timosachsenberg
pushed a commit
that referenced
this pull request
Sep 9, 2026
- Cite #10092, #10099 and #10101, whose CHANGELOG entries were added without a PR number at authoring time. - Fix the Thermo mzML metadata entries, which cited #10072 (closed, never merged) instead of #10077, the PR that actually superseded and merged it; also cite #10079, which completed the openms-thermo-bridge 0.3.0 pin. - Cite #10070 for the three CHANGELOG entries it added (pyOpenMS wheel Thermo RAW support) that were missing a PR reference. Co-Authored-By: Claude Sonnet 5 <[email protected]> Claude-Session: https://claude.ai/code/session_012hjhKYp1CdQK621UQm5uQ6
2 tasks done
timosachsenberg
added a commit
that referenced
this pull request
Sep 10, 2026
- Cite #10092, #10099 and #10101, whose CHANGELOG entries were added without a PR number at authoring time. - Fix the Thermo mzML metadata entries, which cited #10072 (closed, never merged) instead of #10077, the PR that actually superseded and merged it; also cite #10079, which completed the openms-thermo-bridge 0.3.0 pin. - Cite #10070 for the three CHANGELOG entries it added (pyOpenMS wheel Thermo RAW support) that were missing a PR reference. Claude-Session: https://claude.ai/code/session_012hjhKYp1CdQK621UQm5uQ6 Co-authored-by: Claude <[email protected]>
timosachsenberg
added a commit
that referenced
this pull request
Sep 11, 2026
…rsor-hierarchy fix (#10095) PR #10072 (the original Thermo metadata-preservation PR) was closed unmerged, superseded by #10077 which was the PR actually merged into develop. Point the two existing changelog entries at #10077 instead, and add the openms-thermo-bridge v0.3.0 tag update (#10079). Also document a real fix that shipped only in #10077's review pass: a Master Scan Number pointing at a same-order sibling scan caused every ETD scan in a mixed-activation Thermo run to be reported as plain HCD with no supplemental activation. Claude-Session: https://claude.ai/code/session_0193GREsEgm8mEYbyzaXG19m Co-authored-by: Claude <[email protected]>
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.
Thermo RAW loading currently loses metadata needed for comparable mzML output to ThermoRawFileParser. This consumes bridge 0.3.0 snapshots and carries source, sample, method, trailer, precursor and instrument metadata through OpenMS's data model and mzML reader/writer. Optional exports include native charges, independent 64-bit noise grids, PDA spectra and detector chromatograms.
The change adds reader options and Python bindings, additional instrument configurations with scan references, MSn/SPS hierarchy reconstruction, distinct selected-ion/isolation targets, supplemental activation, correct array types and units, and preservation of full timestamps and XML attribute whitespace.
A second review fixed zero precursor intensity export, editable isolation offsets, SPS intensity semantics, unexpected supplemental activation, acquisition representation and FID classification.
Paired bridge PR: OpenMS/openms-thermo-bridge#11. Both dependency paths pin its published commit
4c0edddf5a49879e0470b0ca08cfe9955ceba3c9. The vcpkg overlay uses a verified SHA-512 source archive and builds matching managed sources with a host .NET SDK; it does not require an unreleased 0.3.0 binary asset.Validation: standalone precursor tests pass; changed core files and class tests pass C++23 syntax checks. Bridge and CV suites pass 136 cases, with four fixture-related skips. The low-resolution centroid regression fails before the bridge fix and passes on both TRFP small.RAW and small2.RAW afterward. The nethost patch applies to the bridge source, and the downloaded archive's files match the published bridge commit. The published OpenMS tree matches the reviewed local tree.
OpenMS was not built or linked because AGENTS.md requires an explicit build request. Synthetic mzML round-trip tests, RAW integration tests and Python API tests are included but require runtime execution in CI/an authorized build. End-to-end parity with TRFP output is not yet verified; float32 intensity storage, software records, time units and XML layout can differ.
The comparison reference is ThermoRawFileParser commit cf548e4a3fadcc796291a01fdbd088af986a5d72.