Repository navigation
Update CHANGELOG: Percolator Normalizer double-instantiation and MRMScoring single-transition fixes - #10065
Conversation
…coring single-transition fixes Two recently merged fixes landed without their own CHANGELOG entry: - #10057 (fixes #10049) - Percolator::train()/rescore() called Normalizer::getNormalizer() themselves even though SetHandler::normalizeFeatures() already does so via its out-parameter, tripping the vendored Normalizer's "Multiple instantiations" assert in Debug builds. - #10055 (fixes #10050) - MRMScoring's cross-correlation/mutual-information scoring functions required a matrix of at least 2x2, rejecting single-transition compounds. Co-Authored-By: Claude Sonnet 5 <[email protected]> Claude-Session: https://claude.ai/code/session_01CHEsujKnJFTTChdC6Q8qGu
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: Organization UI Review profile: CHILL Plan: Team Run ID: 📒 Files selected for processing (1)
Included review availability: Your plan provides up to 4 included reviews per hour; 3 remain after this review. 📝 WalkthroughWalkthroughThe OpenMS 3.6.0 changelog adds two Build System fixes: one for duplicate Percolator normalizer construction and one for MRMScoring functions handling single-transition compounds. ChangesBuild System fixes
Suggested reviewers: Poem
Merge Risk: ⚪ Minimal · up to This change documents the Percolator and MRMScoring fixes for the 3.6.0 changelog without changing runtime code or behavior. No merge-blocking risk remains. 🚥 Pre-merge checks | ✅ 5✅ Passed checks (5 passed)
✨ Finishing Touches🧪 Generate unit tests (beta)
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 |
Description
Two recently merged fixes landed without their own CHANGELOG entry:
Percolator::train()/rescore()calledNormalizer::getNormalizer()themselves even though the vendoredSetHandler::normalizeFeatures()already constructs the singleton via its out-parameter. Calling the factory twice tripped the vendored Normalizer'sassert(false)("Multiple instantiations of Normalizer") in Debug builds on every in-process Percolator run since feat(Percolator): in-process backend (vendored library + TRON solver) #9218.train()/rescore()now pass a nullNormalizer*intonormalizeFeatures()and let it perform the single factory call, matching upstream Percolator's ownCaller.cpp. Release builds were unaffected numerically (NDEBUGdisables the assert, and the redundant call just returned the existing singleton).MRMScoring's cross-correlation and mutual-information scoring functions (calcXcorrCoelutionScore,calcXcorrCoelutionWeightedScore,calcXcorrShapeScore,calcXcorrShapeWeightedScore,calcMIScore,calcMIWeightedScore) required their score matrix to be at least 2x2, so OpenSwath compounds with only a single transition failed the precondition instead of being scored. The checks now accept a 1x1 matrix.This PR only adds the corresponding CHANGELOG entries under the 3.6.0 (under development) "Fixes:" section; no code changes.
Checklist
🤖 Generated with Claude Code
https://claude.ai/code/session_01CHEsujKnJFTTChdC6Q8qGu
Generated by Claude Code
Summary by CodeRabbit