Skip to content

remove: MascotAdapter - #7927

Merged
timosachsenberg merged 7 commits into
developfrom
remove_MA
Mar 19, 2025
Merged

timosachsenberg merged 7 commits into
developfrom
remove_MA

Conversation

@timosachsenberg

@timosachsenberg timosachsenberg commented Mar 19, 2025 •

Copy link
Copy Markdown
Contributor

User description

Description

Note: MascotAdapterOnline still exists

Checklist

  • Make sure that you are listed in the AUTHORS file
  • Add relevant changes and new features to the CHANGELOG file
  • I have commented my code, particularly in hard-to-understand areas
  • New and existing unit tests pass locally with my changes
  • Updated or added python bindings for changed or new classes (Tick if no updates were necessary.)

How can I get additional information on failed tests during CI

Click to expand If your PR is failing you can check out

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.
  • setting the label "NoJenkins" will skip tests for this PR on jenkins (saves resources e.g., on edits that do not affect tests)
  • commenting with rebuild jenkins will retrigger Jenkins-based CI builds

⚠️ Note: Once you opened a PR try to minimize the number of pushes to it as every push will trigger CI (automated builds and test) and is rather heavy on our infrastructure (e.g., if several pushes per day are performed).


PR Type

Bug fix, Enhancement, Tests


Description

  • Removed the deprecated MascotAdapter and its associated files, including tests and documentation references.

  • Added FAIMS support in FeatureFinderMultiplexAlgorithm with methods to handle FAIMS data processing.

  • Introduced a new method processIndividualPeakmap_ in FeatureFinderMultiplexAlgorithm for modular peakmap processing.

  • Updated build configuration files to exclude MascotAdapter and related components.


Changes walkthrough 📝

Relevant files
Enhancement
3 files
ToolHandler.cpp
Removed `MascotAdapter` tool registration.                             
+0/-1     
FeatureFinderMultiplexAlgorithm.cpp
Added FAIMS support and modular peakmap processing.           
+295/-0 
FeatureFinderMultiplexAlgorithm.h
Declared new methods for FAIMS support and peakmap processing.
+15/-1   
Removal
4 files
MascotInfile.cpp
Removed `MascotInfile` implementation.                                     
+0/-688 
MascotInfile.h
Removed `MascotInfile` header file.                                           
+0/-251 
MascotAdapter.cpp
Removed `MascotAdapter` implementation.                                   
+0/-620 
MascotInfile.pxd
Removed Python bindings for `MascotInfile`.                           
+0/-59   
Tests
1 files
MascotInfile_test.cpp
Removed tests for `MascotInfile`.                                               
+0/-306 
Configuration changes
4 files
sources.cmake
Removed `MascotInfile` from build sources.                             
+0/-1     
sources.cmake
Removed `MascotInfile` from build sources.                             
+0/-1     
executables.cmake
Removed `MascotInfile_test` from test executables.             
+0/-1     
executables.cmake
Removed `MascotAdapter` from TOPP executables.                     
+0/-1     
Documentation
1 files
TOPP.doxygen
Removed `MascotAdapter` documentation reference.                 
+0/-1     

Need help?
  • Type /help how to ... in the comments thread for any questions about Qodo Merge usage.
  • Check out the documentation for more information.
  • Summary by CodeRabbit

    • Refactor/Chore
      • Removed support for the legacy Mascot-based identification adapter and its associated components.
    • Documentation
      • Updated user documentation to eliminate references to the deprecated adapter and highlight current supported alternatives.
    • Tests
      • Removed test cases and configurations related to the legacy adapter, streamlining the overall testing suite.

    @coderabbitai

    coderabbitai Bot commented Mar 19, 2025 •

    Copy link
    Copy Markdown
    Contributor

    Walkthrough

    The pull request removes Mascot-related functionality from the codebase. References to the MascotAdapter have been pruned from the documentation and changelogs, and its associated implementation—specifically the MascotInfile class and the TOPPMascotAdapter tool—has been completely removed from both the OpenMS source and its tests. Additionally, CMake configurations and Cython bindings have been updated to omit Mascot files, and documentation in several TOPP tools has been revised to reference the CometAdapter instead.

    Changes

    File(s) Change Summary
    doc/doxygen/public/TOPP.doxygen, CHANGELOG Removed MascotAdapter reference from documentation and updated changelog to note its removal.
    src/openms/.../MascotInfile.h, src/openms/.../MascotInfile.cpp, src/openms/.../sources.cmake, src/pyOpenMS/pxds/MascotInfile.pxd Removed MascotInfile class implementation, headers, CMake entries, and Cython bindings.
    src/openms/.../ToolHandler.cpp, src/topp/MascotAdapter.cpp, src/topp/executables.cmake Removed MascotAdapter tool registration and executable from the build.
    src/tests/... (MascotInfile_test files, MascotAdapter test inputs/outputs, test CMakeLists) Deleted test files and configurations related to MascotInfile/MascotAdapter functionality.
    src/topp/FalseDiscoveryRate.cpp, src/topp/HighResPrecursorMassCorrector.cpp, src/topp/IDDecoyProbability.cpp, src/topp/IDMapper.cpp, src/topp/IDMerger.cpp, src/topp/IDPosteriorErrorProbability.cpp, src/topp/IDRTCalibration.cpp, src/topp/PhosphoScoring.cpp Updated documentation references—replacing MascotAdapter with CometAdapter.

    Poem

    Hop, hop, in the code I skip,
    Removing old tools with a gentle flip,
    Mascot has hopped away, no longer in sight,
    Leaving clean paths and fresh lines so bright,
    I'm a little rabbit with a coder’s heart aglow,
    Cheering the new dawn where clear code can grow!

    Tip

    ⚡🧪 Multi-step agentic review comment chat (experimental)
    • We're introducing multi-step agentic chat in review comments. This experimental feature enhances review discussions with the CodeRabbit agentic chat by enabling advanced interactions, including the ability to create pull requests directly from comments.
      - To enable this feature, set early_access to true under in the settings.

    📜 Recent review details

    Configuration used: CodeRabbit UI
    Review profile: CHILL
    Plan: Pro

    📥 Commits

    Reviewing files that changed from the base of the PR and between a0f0e87 and 310525c.

    📒 Files selected for processing (26)
    • CHANGELOG (1 hunks)
    • doc/doxygen/public/TOPP.doxygen (0 hunks)
    • src/openms/include/OpenMS/FORMAT/MascotInfile.h (0 hunks)
    • src/openms/include/OpenMS/FORMAT/sources.cmake (0 hunks)
    • src/openms/source/APPLICATIONS/ToolHandler.cpp (0 hunks)
    • src/openms/source/FORMAT/MascotInfile.cpp (0 hunks)
    • src/openms/source/FORMAT/sources.cmake (0 hunks)
    • src/pyOpenMS/pxds/MascotInfile.pxd (0 hunks)
    • src/tests/class_tests/openms/executables.cmake (0 hunks)
    • src/tests/class_tests/openms/source/MascotInfile_test.cpp (0 hunks)
    • src/tests/topp/CMakeLists.txt (0 hunks)
    • src/tests/topp/MascotAdapter_1_input.mzData (0 hunks)
    • src/tests/topp/MascotAdapter_1_output.mascot_in (0 hunks)
    • src/tests/topp/MascotAdapter_1_parameters.ini (0 hunks)
    • src/tests/topp/MascotAdapter_2_input.mascotXML (0 hunks)
    • src/tests/topp/MascotAdapter_2_output.idXML (0 hunks)
    • src/topp/FalseDiscoveryRate.cpp (1 hunks)
    • src/topp/HighResPrecursorMassCorrector.cpp (1 hunks)
    • src/topp/IDDecoyProbability.cpp (1 hunks)
    • src/topp/IDMapper.cpp (1 hunks)
    • src/topp/IDMerger.cpp (1 hunks)
    • src/topp/IDPosteriorErrorProbability.cpp (1 hunks)
    • src/topp/IDRTCalibration.cpp (1 hunks)
    • src/topp/MascotAdapter.cpp (0 hunks)
    • src/topp/PhosphoScoring.cpp (1 hunks)
    • src/topp/executables.cmake (0 hunks)
    💤 Files with no reviewable changes (17)
    • src/topp/executables.cmake
    • src/openms/include/OpenMS/FORMAT/sources.cmake
    • src/tests/class_tests/openms/executables.cmake
    • doc/doxygen/public/TOPP.doxygen
    • src/openms/source/FORMAT/sources.cmake
    • src/tests/topp/MascotAdapter_1_parameters.ini
    • src/openms/source/FORMAT/MascotInfile.cpp
    • src/tests/topp/MascotAdapter_1_input.mzData
    • src/tests/topp/MascotAdapter_2_input.mascotXML
    • src/openms/source/APPLICATIONS/ToolHandler.cpp
    • src/tests/topp/MascotAdapter_2_output.idXML
    • src/tests/class_tests/openms/source/MascotInfile_test.cpp
    • src/openms/include/OpenMS/FORMAT/MascotInfile.h
    • src/topp/MascotAdapter.cpp
    • src/tests/topp/MascotAdapter_1_output.mascot_in
    • src/tests/topp/CMakeLists.txt
    • src/pyOpenMS/pxds/MascotInfile.pxd
    🚧 Files skipped from review as they are similar to previous changes (9)
    • src/topp/IDDecoyProbability.cpp
    • src/topp/FalseDiscoveryRate.cpp
    • src/topp/IDMapper.cpp
    • src/topp/IDRTCalibration.cpp
    • src/topp/HighResPrecursorMassCorrector.cpp
    • src/topp/IDPosteriorErrorProbability.cpp
    • src/topp/IDMerger.cpp
    • src/topp/PhosphoScoring.cpp
    • CHANGELOG
    ⏰ Context from checks skipped due to timeout of 90000ms (5)
    • GitHub Check: build-and-test (ubuntu-22.04, clang++, 15)
    • GitHub Check: build-and-test (ubuntu-22.04, g++, 11)
    • GitHub Check: build-and-test (macos-13, xcode, 14.2)
    • GitHub Check: build-and-test (windows-2022, cl.exe, default)
    • GitHub Check: cppcheck-test

    🪧 Tips

    Chat

    There are 3 ways to chat with CodeRabbit:

    • Review comments: Directly reply to a review comment made by CodeRabbit. Example:
      • I pushed a fix in commit <commit_id>, please review it.
      • Generate unit testing code for this file.
      • Open a follow-up GitHub issue for this discussion.
    • Files and specific lines of code (under the "Files changed" tab): Tag @coderabbitai in a new review comment at the desired location with your query. Examples:
      • @coderabbitai generate unit testing code for this file.
      • @coderabbitai modularize this function.
    • PR comments: Tag @coderabbitai in a new PR comment to ask questions about the PR branch. For the best results, please provide a very specific query, as very limited context is provided in this mode. Examples:
      • @coderabbitai gather interesting stats about this repository and render them as a table. Additionally, render a pie chart showing the language distribution in the codebase.
      • @coderabbitai read src/utils.ts and generate unit testing code.
      • @coderabbitai read the files in the src/scheduler package and generate a class diagram using mermaid and a README in the markdown format.
      • @coderabbitai help me debug CodeRabbit configuration file.

    Note: Be mindful of the bot's finite context window. It's strongly recommended to break down tasks such as reading entire modules into smaller chunks. For a focused discussion, use review comments to chat about specific files and their changes, instead of using the PR comments.

    CodeRabbit Commands (Invoked using PR comments)

    • @coderabbitai pause to pause the reviews on a PR.
    • @coderabbitai resume to resume the paused reviews.
    • @coderabbitai review to trigger an incremental review. This is useful when automatic reviews are disabled for the repository.
    • @coderabbitai full review to do a full review from scratch and review all the files again.
    • @coderabbitai summary to regenerate the summary of the PR.
    • @coderabbitai generate docstrings to generate docstrings for this PR.
    • @coderabbitai resolve resolve all the CodeRabbit review comments.
    • @coderabbitai configuration to show the current CodeRabbit configuration for the repository.
    • @coderabbitai help to get help.

    Other keywords and placeholders

    • Add @coderabbitai ignore anywhere in the PR description to prevent this PR from being reviewed.
    • Add @coderabbitai summary to generate the high-level summary at a specific location in the PR description.
    • Add @coderabbitai anywhere in the PR title to generate the title automatically.

    CodeRabbit Configuration File (.coderabbit.yaml)

    • You can programmatically configure CodeRabbit by adding a .coderabbit.yaml file to the root of your repository.
    • Please see the configuration documentation for more information.
    • If your editor has YAML language server enabled, you can add the path at the top of this file to enable auto-completion and validation: # yaml-language-server: $schema=https://coderabbit.ai/integrations/schema.v2.json

    Documentation and Community

    • Visit our Documentation for detailed information on how to use CodeRabbit.
    • Join our Discord Community to get help, request features, and share feedback.
    • Follow us on X/Twitter for updates and announcements.

    coderabbitai[bot]

    This comment was marked as outdated.

    @OpenMS OpenMS deleted a comment from qodo-code-review Bot Mar 19, 2025
    @OpenMS OpenMS deleted a comment from qodo-code-review Bot Mar 19, 2025
    @timosachsenberg timosachsenberg changed the title Remove MascotAdapter remove: MascotAdapter Mar 19, 2025
    timosachsenberg and others added 6 commits March 19, 2025 22:46
    add some citation information
    * switch to target compile flags
    
    * cleanup
    
    * add to tests
    
    * split into private and public flags
    
    * attempt to remove some outdated compile flags
    @timosachsenberg
    timosachsenberg merged commit 55ec88e into develop Mar 19, 2025
    @timosachsenberg
    timosachsenberg deleted the remove_MA branch March 19, 2025 22:05
    @coderabbitai coderabbitai Bot mentioned this pull request Sep 25, 2025
    4 of 5 tasks
    Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

    Projects

    None yet

    Development

    Successfully merging this pull request may close these issues.

    2 participants