Repository navigation
TOPPView: highlight MS2 precursor positions - #9715
Conversation
…iew; also add MS2 isolation window min/max as dashed line in m/z
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: Organization UI Review profile: CHILL Plan: Pro Run ID: ⛔ Files ignored due to path filters (2)
📒 Files selected for processing (5)
📝 WalkthroughWalkthroughThis PR adds MS/MS precursor marker detection, highlighting, and coordinate display to the 2D plot canvas in OpenMS GUI, including nearest-precursor mouse search, isolation window drawing, and selection state management, alongside documentation updates describing the new hover interactions. ChangesPrecursor marker highlighting
Sequence Diagram(s)sequenceDiagram
participant User
participant Plot2DCanvas
participant findNearestPrecursor_
participant highlightPrecursor_
participant Painter2DBase
User->>Plot2DCanvas: mouseMoveEvent
Plot2DCanvas->>findNearestPrecursor_: search nearest precursor (pixel tolerance)
findNearestPrecursor_-->>Plot2DCanvas: PeakIndex + dist_sq
Plot2DCanvas->>Plot2DCanvas: compare precursor vs peak distance
Plot2DCanvas->>Plot2DCanvas: set selected_precursor_ or selected_peak_
Plot2DCanvas->>Plot2DCanvas: paintEvent triggered
Plot2DCanvas->>highlightPrecursor_: highlight selected_precursor_
Plot2DCanvas->>Painter2DBase: paintPrecursorPeaks_ (draw isolation window)
Plot2DCanvas-->>User: render RT/m/z/charge coordinates
Suggested reviewers: Poem
🚥 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 |
Adds entries for PRs merged in the last couple of days that were missing changelog coverage: the TOPPView precursor-highlighting feature (#9715), the Xerces-C++ PRIVATE-linkage/XMLHandler API change (#9712, which also supersedes a stale note left by the LibSVM PRIVATE-linkage entry), the FragmentMassError variance fix (#9618), the PepXMLFile duplicate Comet metavalue fix (#9089), and the clang/OpenMP and TextExporter USI documentation additions (#9162, #9173). Co-authored-by: Claude <[email protected]>
Description
Draw isolation window start/end as dashed line for each MS2 precursor position.
Positions are now selectable and show
RT,m/z, andchargeAlso adds missing documentation for #9466
How can I get additional information on failed tests during CI
Click to expand
If your PR is failing you can check outIf you click in the column that lists the failed tests you will get detailed error messages.
Advanced commands (admins / reviewer only)
Click to expand
/reformat(experimental) applies the clang-format style changes as additional commit. Note: your branch must have a different name (e.g., yourrepo:feature/XYZ) than the receiving branch (e.g., OpenMS:develop). Otherwise, reformat fails to push.rebuild jenkinswill retrigger Jenkins-based CI buildsSummary by CodeRabbit
New Features
Documentation
Bug Fixes