Skip to content

Release/3.5.0 - #8458

Merged
poshul merged 14 commits into
developfrom
release/3.5.0
Dec 11, 2025
Merged

poshul merged 14 commits into
developfrom
release/3.5.0

Conversation

@poshul

@poshul poshul commented Dec 10, 2025 •

Copy link
Copy Markdown
Collaborator

Description

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).

Summary by CodeRabbit

  • New Features

    • Added FeatureFinderLFQ, IsobaricWorkflow, OpenNuXL, PeakPickerIM, PeptideDataBaseSearchFI, and QuantmsIOConverter.
  • Chores

    • Removed IDMassAccuracy, OpenPepXLLF, SpecLibCreator, SpecLibSearcher.
    • Improved multi-architecture build and packaging (multi‑arch Docker, CI matrix, reproducible image provenance).
    • Updated packaging vendor/maintainer and package naming logic.
    • Set macOS minimum deployment target to 12.0 and adjusted installer messaging.
  • Documentation

    • Added TOPP docs for new tools and updated changelog/header.

✏️ Tip: You can customize this high-level summary in your review settings.

poshul and others added 6 commits December 8, 2025 16:27
Replace boost::unordered_map with std::map for SequenceMapT and IonMapT
typedefs to ensure deterministic iteration order across platforms.

The previous use of boost::unordered_map caused test failures on some
platforms because the iteration order affected RNG calls in
generateDecoySequences_(), leading to different decoy sequences being
generated.

- Remove boost/unordered_map.hpp include
- Change SequenceMapT from boost::unordered_map to std::map
- Change IonMapT from nested boost::unordered_map to nested std::map
- Update expected test output files to match new deterministic order

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <[email protected]>
Since we now use std::map for deterministic iteration order (instead of
boost::unordered_map), there is no longer a need for boost version-specific
test files.

- Remove #if OPENMS_BOOST_VERSION_MINOR < 56 conditionals
- Rename _boost58.TraML files to .TraML (keeping the deterministic output)
- Delete old non-boost58 test files

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-authored-by: Claude Opus 4.5 <[email protected]>
@coderabbitai

coderabbitai Bot commented Dec 10, 2025 •

Copy link
Copy Markdown
Contributor

Walkthrough

This PR updates CI for multi-architecture Docker builds, adds/updates release metadata and documentation for OpenMS 3.5.0, introduces architecture-aware Docker/CMake packaging changes, adjusts macOS bundle/plist handling, replaces Boost unordered_map with std::map in MRMAssay, and makes multiple parameter/API surface edits in CHANGELOG_PARAMS.

Changes

Cohort / File(s) Summary
CI Workflow Updates
.github/workflows/containerdeploy.yml, .github/workflows/openms_ci_matrix_full.yml
Add matrix-based deploy job for amd64/arm64; propagate matrix.platform to docker build/push steps; add provenance: mode=max; bump actions/download-artifact to v6; add MACOSX_DEPLOYMENT_TARGET env var for macOS.
Release & API Params
CHANGELOG, CHANGELOG_PARAMS
Bump OpenMS 3.5.0 header; add six new components and remove four; extensive parameter additions/removals/changes across many adapters and tools (CometAdapter, Digestor, OpenSwath, PeptideIndexer, MSFragger/MSGF, MapAligner, RTNormalization, etc.).
Docker Multi-Arch
dockerfiles/Dockerfile
Add TARGETARCH ARG and map to CMAKE_ARCH/ARCH_DIR/DEB_ARCH; architecture-aware cmake/cmake-installer selection, conditional third-party binary copying, and explicit unsupported-arch guards.
Packaging (deb/rpm) & Maintainer
cmake/package_deb.cmake, cmake/package_rpm.cmake
Change maintainer/vendor to "OpenMS Inc [email protected]"; replace OPENMS_64BIT_ARCHITECTURE branching with CMAKE_SYSTEM_PROCESSOR for package filename/arch suffix.
CMake/install macros
cmake/install_macros.cmake
Resolve Qt plugin install path via REALPATH before extracting NAME/PATH when plugin path exists.
Windows installer translations
cmake/Windows/Include/NsisMultiUserLang.nsh
Append "(Note: The installer will restart with elevated privileges)" to ALL_USERS/UMUI strings across languages (text-only changes).
macOS bundles & plugin installs
src/openms_gui/add_mac_bundle.cmake, src/openms_gui/source/VISUAL/APPLICATIONS/GUITOOLS/*plist.in
Replace IMPORTED_RUNTIME_ARTIFACTS plugin installs with explicit file installs using resolved LOCATION/REALPATH; add LSMinimumSystemVersion=12.0 and BundleIsRelocatable=false to multiple plists; remove LSEnvironment PATH overrides.
Deterministic maps & tests
src/openms/include/OpenMS/ANALYSIS/OPENSWATH/MRMAssay.h, src/tests/class_tests/openms/source/MRMAssay_test.cpp
Replace boost::unordered_map typedefs with std::map for deterministic iteration; remove conditional boost-version branching in tests to use boost58 outputs unconditionally.
Docs & TOPP pages
doc/doxygen/public/TOPP.doxygen, src/topp/OpenNuXL.cpp, src/topp/PeakPickerIM.cpp, src/tests/topp/INIUpdater_1_noupdate.toppas
Add TOPP subpages for PeakPickerIM, PeptideDataBaseSearchFI, OpenNuXL; update OpenNuXL tag and add detailed PeakPickerIM docs; update INIUpdater version to 3.5.0.
Submodule
contrib
Update submodule commit reference.

Sequence Diagram(s)

(Skipped — changes do not introduce a single new multi-component control flow that benefits from a sequence diagram.)

Estimated code review effort

🎯 3 (Moderate) | ⏱️ ~25 minutes

  • Pay special attention to: CHANGELOG_PARAMS parameter/API edits; dockerfiles/Dockerfile TARGETARCH mappings and conditional third-party handling; cmake/package_*.cmake use of CMAKE_SYSTEM_PROCESSOR string formats; macOS plugin resolution (REALPATH) and plist changes.

Possibly related PRs

Suggested labels

enhancement, Review effort [1-5]: 3

Suggested reviewers

  • pjones
  • timosachsenberg
  • jpfeuffer

Poem

🐰 Hops for code and builds that span,
amd64 and arm join paw in paw;
six new tools, four waved goodbye,
plists and packages tidy and spry,
maps now ordered — steady as straw!

Pre-merge checks and finishing touches

❌ Failed checks (1 warning)
Check name Status Explanation Resolution
Docstring Coverage ⚠️ Warning Docstring coverage is 50.00% which is insufficient. The required threshold is 80.00%. You can run @coderabbitai generate docstrings to improve docstring coverage.
✅ Passed checks (2 passed)
Check name Status Explanation
Description Check ✅ Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Title check ✅ Passed The title 'Release/3.5.0' directly refers to the version release that the PR prepares, which aligns with the changelog update to version 3.5.0 and the comprehensive changes across workflows, CMake configurations, and tool definitions.
✨ Finishing touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Post copyable unit tests in a comment
  • Commit unit tests in branch release/3.5.0

📜 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 6a3b671 and c1370fb.

📒 Files selected for processing (1)
  • src/openms_gui/add_mac_bundle.cmake (1 hunks)
🚧 Files skipped from review as they are similar to previous changes (1)
  • src/openms_gui/add_mac_bundle.cmake
⏰ Context from checks skipped due to timeout of 90000ms. You can increase the timeout in your CodeRabbit configuration to a maximum of 15 minutes (900000ms). (7)
  • GitHub Check: Analyze (python)
  • GitHub Check: Analyze (ruby)
  • GitHub Check: build-and-test (ubuntu-22.04-arm, g++, 11)
  • GitHub Check: build-and-test (windows-2022, cl.exe, 14.36)
  • GitHub Check: build-and-test (ubuntu-22.04, g++, 11)
  • GitHub Check: build-and-test (ubuntu-22.04, clang++, 15)
  • GitHub Check: cppcheck-test

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.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

poshul and others added 7 commits December 10, 2025 12:03
* Build arm64 docker images

* update dockerfile

* use correct THIRDPARTY
* Add LSMinimumSystemVersion to apps

* pass CMAKE_OSX_DEPLOYMENT_TARGET 12.0 during CII

* fix variable which is passed in env

* Tell MacOS that we don't want our files moved around

* Try without NS prefix
* Initial plan

* Add missing TOPP tools to doxygen documentation

- Fix OpenNuXL.cpp: Change @page UTILS_OpenNuXL to @page TOPP_OpenNuXL
- Add full @page TOPP_PeakPickerIM documentation to PeakPickerIM.cpp
- Add PeakPickerIM entry to Spectrum processing: Centroiding section
- Add PeptideDataBaseSearchFI entry to SearchEngines section
- Add OpenNuXL entry to Cross-linking section

Co-authored-by: timosachsenberg <[email protected]>

---------

Co-authored-by: copilot-swe-agent[bot] <[email protected]>
Co-authored-by: timosachsenberg <[email protected]>
* Add LSMinimumSystemVersion to apps

* pass CMAKE_OSX_DEPLOYMENT_TARGET 12.0 during CII

* fix variable which is passed in env

* Tell MacOS that we don't want our files moved around

* Try without NS prefix

* try to de-reference the symlink to cocoa

* try again with mac
* Initial plan

* Fix LogConfigHandler: flush buffers in removeAllStreams and restore streams in setLogLevel

Co-authored-by: jpfeuffer <[email protected]>

* Add support for NONE log level and improve documentation

Co-authored-by: jpfeuffer <[email protected]>

* Address code review feedback: use find() and static const vector

Co-authored-by: jpfeuffer <[email protected]>

* Use find() consistently instead of count() for better performance

Co-authored-by: jpfeuffer <[email protected]>

* Refactor setLogLevel: improve clarity, add validation, and move constant to namespace scope

Co-authored-by: jpfeuffer <[email protected]>

* Fix: distribute incomplete lines before removing streams

Co-authored-by: jpfeuffer <[email protected]>

* Change runner from macOS to Ubuntu for workflow (#8449)

MacOS is more expensive to run on, and treats the -e in the sed lines of update_version_numbers.sh as a backup extension. Use Ubuntu instead

* Initial plan

* Fix thread limit handling in SageAdapter for unlimited threads

- Changed default from 1 to 0 (auto-detect all CPUs)
- Only set RAYON_NUM_THREADS when threads > 0
- When threads = 0, Rayon auto-detects and uses all available CPUs

Co-authored-by: jpfeuffer <[email protected]>

* Remove duplicate threads parameter registration

TOPPBase already provides a threads parameter. Removed the duplicate
registration from SageAdapter and now use the inherited parameter.
Kept the logic to only set RAYON_NUM_THREADS when threads > 0.

Co-authored-by: jpfeuffer <[email protected]>

* Update SageAdapter test output - reorder threads parameter

Moved threads parameter to correct position (after debug, before no_progress)
to match TOPPBase registration order. This reflects the removal of duplicate
threads registration in SageAdapter.

Co-authored-by: jpfeuffer <[email protected]>

* Update src/topp/SageAdapter.cpp

* revert changes from @timosachsenberg

* Fix iBAQ normalization silently skipped for protein groups (issue #8466)

The root cause was an accession mismatch between prot_quant_ keys and
ProteinHit accessions:
- transferPeptideDataToProteins_() populates prot_quant_ using LEADER
  accessions from getAccession_() + mapAccessionToLeader()
- performIbaqNormalization_() iterated over protein hits directly and
  looked up hit.getAccession() in prot_quant_
- When protein groups exist, non-leader hits would fail the lookup,
  silently skipping iBAQ normalization

The fix changes performIbaqNormalization_() to:
1. Build the same accession_to_leader mapping used elsewhere
2. Create a reverse leader_to_members mapping
3. Iterate over prot_quant_ entries (keyed by leaders) instead of hits
4. For each leader, find a sequence from the leader hit or any member

This ensures iBAQ normalization is applied correctly even when:
- Leader accession differs from protein hit accessions
- Only group member hits have sequences
- Complex protein inference produces group structures

Added two test cases that expose the bug:
- iBAQ with indistinguishable protein groups (leader present)
- iBAQ with missing leader protein hit (only members present)

---------

Co-authored-by: copilot-swe-agent[bot] <[email protected]>
Co-authored-by: jpfeuffer <[email protected]>
Co-authored-by: Samuel Wein <[email protected]>
Co-authored-by: Claude <[email protected]>
@poshul
poshul marked this pull request as ready for review December 11, 2025 12:12

@coderabbitai coderabbitai Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Actionable comments posted: 1

Caution

Some comments are outside the diff and can’t be posted inline due to platform limitations.

⚠️ Outside diff range comments (1)
src/openms_gui/add_mac_bundle.cmake (1)

90-122: Qt plugin install location and qt.conf are inconsistent for pkg builds

Within the if("${PACKAGE_TYPE}" STREQUAL "pkg") block (lines 90–122), the build system:

  • Installs Qt plugins (QCocoaIntegrationPlugin, QMacStylePlugin) to ${INSTALL_PLUGIN_DIR}/platforms and ${INSTALL_PLUGIN_DIR}/styles (outside the .app bundle)
  • Writes qt.conf to point to Plugins = PlugIns (which resolves to .app/Contents/PlugIns)

The second qt.conf write at line 117 overwrites the first write at line 93, leaving qt.conf pointing to a location where the plugins are not installed. This will cause Qt to fail finding platform/style plugins at runtime.

Suggested fixes:

  1. Keep the external shared plugin directory approach: Remove the second qt.conf write (lines 117–122) so qt.conf retains Plugins = ../../${INSTALL_PLUGIN_DIR}.

  2. Or move plugins into the bundle: Change plugin DESTINATION to "${_name}.app/Contents/PlugIns/platforms" and "${_name}.app/Contents/PlugIns/styles", then keep Plugins = PlugIns.

Additionally, harden this block:

  • Guard the get_target_property calls (lines 100, 106) with if(TARGET Qt6::QCocoaIntegrationPlugin) and if(TARGET Qt6::QMacStylePlugin) to catch configuration errors early.
  • Consider using $<TARGET_FILE:Qt6::QCocoaIntegrationPlugin> instead of the bare LOCATION property to avoid multi-config generator issues.
🧹 Nitpick comments (4)
src/openms_gui/source/VISUAL/APPLICATIONS/GUITOOLS/SwathWizard-resources/SwathWizard.plist.in (1)

5-8: Align relocatable bundle key name with other GUI plists

Here you use NSBundleIsRelocatable, while the other GUI plist.in files in this PR use BundleIsRelocatable. Please double‑check which key is actually honored by your macOS/packaging tooling and standardize across all GUI plists to avoid one app silently ignoring the non‑relocatable setting.

.github/workflows/containerdeploy.yml (1)

94-101: Inconsistent docker/build-push-action version.

The tools build step uses docker/build-push-action@v6 (line 95) while the other steps use v5 (lines 66, 79, 112). This inconsistency could lead to subtle behavioral differences.

Consider aligning all versions for consistency:

     - name: Build and push tools image
-      uses: docker/build-push-action@v6
+      uses: docker/build-push-action@v5
       with:

Or upgrade all to v6 if the newer version is preferred.

.github/workflows/openms_ci_matrix_full.yml (1)

766-770: Inconsistent artifact download version within workflow.

This step uses actions/download-artifact@v4 while the deploy-installer job uses v6. Either all should use the same version, or the version difference should be intentional and documented.

Align all actions/download-artifact versions within the workflow for consistency.

dockerfiles/Dockerfile (1)

244-259: Address wget progress bar warning.

The static analysis tool flagged that wget is used without suppressing the progress bar (DL3047), which can clutter build logs.

Apply this diff to suppress progress output:

 RUN <<-EOF
     set -eux
     # Map Docker's TARGETARCH to CMake's architecture naming
     case "${TARGETARCH}" in
         amd64) CMAKE_ARCH="x86_64" ;;
         arm64) CMAKE_ARCH="aarch64" ;;
         *) echo "Unsupported architecture: ${TARGETARCH}" && exit 1 ;;
     esac
-    wget https://github.com/Kitware/CMake/releases/download/v${CMAKE_VERSION}/cmake-${CMAKE_VERSION}-linux-${CMAKE_ARCH}.sh -O cmake.sh
+    wget -q https://github.com/Kitware/CMake/releases/download/v${CMAKE_VERSION}/cmake-${CMAKE_VERSION}-linux-${CMAKE_ARCH}.sh -O cmake.sh
     mkdir -p /opt/cmake
     sh cmake.sh --skip-license --prefix=/opt/cmake
     ln -s /opt/cmake/bin/cmake /usr/local/bin/cmake
     ln -s /opt/cmake/bin/ctest /usr/local/bin/ctest
     rm -rf /tmp/*
 EOF

Also apply to line 70 in the base stage for consistency.

📜 Review details

Configuration used: CodeRabbit UI

Review profile: CHILL

Plan: Pro

📥 Commits

Reviewing files that changed from the base of the PR and between 76025a9 and 6a3b671.

📒 Files selected for processing (22)
  • .github/workflows/containerdeploy.yml (5 hunks)
  • .github/workflows/openms_ci_matrix_full.yml (2 hunks)
  • CHANGELOG (2 hunks)
  • CHANGELOG_PARAMS (1 hunks)
  • cmake/Windows/Include/NsisMultiUserLang.nsh (66 hunks)
  • cmake/install_macros.cmake (1 hunks)
  • cmake/package_deb.cmake (1 hunks)
  • cmake/package_rpm.cmake (1 hunks)
  • contrib (1 hunks)
  • doc/doxygen/public/TOPP.doxygen (3 hunks)
  • dockerfiles/Dockerfile (4 hunks)
  • src/openms/include/OpenMS/ANALYSIS/OPENSWATH/MRMAssay.h (1 hunks)
  • src/openms_gui/add_mac_bundle.cmake (1 hunks)
  • src/openms_gui/source/VISUAL/APPLICATIONS/GUITOOLS/FLASHDeconvWizard-resources/FLASHDeconvWizard.plist.in (1 hunks)
  • src/openms_gui/source/VISUAL/APPLICATIONS/GUITOOLS/INIFileEditor-resources/INIFileEditor.plist.in (1 hunks)
  • src/openms_gui/source/VISUAL/APPLICATIONS/GUITOOLS/SwathWizard-resources/SwathWizard.plist.in (1 hunks)
  • src/openms_gui/source/VISUAL/APPLICATIONS/GUITOOLS/TOPPAS-resources/TOPPAS.plist.in (1 hunks)
  • src/openms_gui/source/VISUAL/APPLICATIONS/GUITOOLS/TOPPView-resources/TOPPView.plist.in (1 hunks)
  • src/tests/class_tests/openms/source/MRMAssay_test.cpp (0 hunks)
  • src/tests/topp/INIUpdater_1_noupdate.toppas (1 hunks)
  • src/topp/OpenNuXL.cpp (1 hunks)
  • src/topp/PeakPickerIM.cpp (2 hunks)
💤 Files with no reviewable changes (1)
  • src/tests/class_tests/openms/source/MRMAssay_test.cpp
🧰 Additional context used
📓 Path-based instructions (2)
src/openms/**/*.{cpp,h,hpp,cc,cxx}

📄 CodeRabbit inference engine (.github/copilot-instructions.md)

src/openms/**/*.{cpp,h,hpp,cc,cxx}: Follow the existing C++ coding conventions in the codebase
Use the established naming patterns for classes, methods, and variables
Use OpenMS data structures (e.g., MSExperiment, FeatureMap, PeptideIdentification)
Follow the established error handling patterns
Utilize OpenMS logging mechanisms
Be mindful of memory usage when processing large datasets
Consider algorithmic complexity for data processing operations
Use appropriate OpenMS containers and algorithms

Files:

  • src/openms/include/OpenMS/ANALYSIS/OPENSWATH/MRMAssay.h
src/openms/include/OpenMS/**/*.h

📄 CodeRabbit inference engine (.github/copilot-instructions.md)

Add Doxygen comments for new public methods and classes

Files:

  • src/openms/include/OpenMS/ANALYSIS/OPENSWATH/MRMAssay.h
🧠 Learnings (14)
📓 Common learnings
Learnt from: jpfeuffer
Repo: OpenMS/OpenMS PR: 8167
File: src/topp/Digestor.cpp:200-226
Timestamp: 2025-08-14T10:19:54.371Z
Learning: In OpenMS (C++ bioinformatics framework), use boost random libraries instead of std library random distributions for cross-platform reproducible random number generation, as std library distributions are not reproducible across platforms.
Learnt from: CR
Repo: OpenMS/OpenMS PR: 0
File: .github/copilot-instructions.md:0-0
Timestamp: 2025-08-05T12:43:11.681Z
Learning: Be aware of OpenMS dependencies and external libraries
📚 Learning: 2025-08-05T12:43:11.681Z
Learnt from: CR
Repo: OpenMS/OpenMS PR: 0
File: .github/copilot-instructions.md:0-0
Timestamp: 2025-08-05T12:43:11.681Z
Learning: Applies to src/openms/**/*.{cpp,h,hpp,cc,cxx} : Use OpenMS data structures (e.g., MSExperiment, FeatureMap, PeptideIdentification)

Applied to files:

  • src/openms/include/OpenMS/ANALYSIS/OPENSWATH/MRMAssay.h
  • CHANGELOG
  • src/topp/PeakPickerIM.cpp
📚 Learning: 2025-08-05T12:43:11.681Z
Learnt from: CR
Repo: OpenMS/OpenMS PR: 0
File: .github/copilot-instructions.md:0-0
Timestamp: 2025-08-05T12:43:11.681Z
Learning: Applies to src/openms/**/*.{cpp,h,hpp,cc,cxx} : Use appropriate OpenMS containers and algorithms

Applied to files:

  • src/openms/include/OpenMS/ANALYSIS/OPENSWATH/MRMAssay.h
  • src/topp/PeakPickerIM.cpp
📚 Learning: 2025-08-14T10:19:54.371Z
Learnt from: jpfeuffer
Repo: OpenMS/OpenMS PR: 8167
File: src/topp/Digestor.cpp:200-226
Timestamp: 2025-08-14T10:19:54.371Z
Learning: In OpenMS (C++ bioinformatics framework), use boost random libraries instead of std library random distributions for cross-platform reproducible random number generation, as std library distributions are not reproducible across platforms.

Applied to files:

  • src/openms/include/OpenMS/ANALYSIS/OPENSWATH/MRMAssay.h
  • CHANGELOG
📚 Learning: 2025-10-21T13:02:16.431Z
Learnt from: timosachsenberg
Repo: OpenMS/OpenMS PR: 8318
File: src/openms/include/OpenMS/ML/CLUSTERING/HashGrid.h:466-480
Timestamp: 2025-10-21T13:02:16.431Z
Learning: In OpenMS, when making internal methods public (e.g., in HashGrid.h), remove XXX/TODO comments about implementation details rather than documenting them in the public API documentation.

Applied to files:

  • src/openms/include/OpenMS/ANALYSIS/OPENSWATH/MRMAssay.h
  • CHANGELOG
📚 Learning: 2025-08-05T12:43:11.681Z
Learnt from: CR
Repo: OpenMS/OpenMS PR: 0
File: .github/copilot-instructions.md:0-0
Timestamp: 2025-08-05T12:43:11.681Z
Learning: Applies to src/openms/**/*.{cpp,h,hpp,cc,cxx} : Consider algorithmic complexity for data processing operations

Applied to files:

  • src/openms/include/OpenMS/ANALYSIS/OPENSWATH/MRMAssay.h
📚 Learning: 2025-08-05T12:43:11.681Z
Learnt from: CR
Repo: OpenMS/OpenMS PR: 0
File: .github/copilot-instructions.md:0-0
Timestamp: 2025-08-05T12:43:11.681Z
Learning: Applies to src/openms/include/OpenMS/**/*.h : Add Doxygen comments for new public methods and classes

Applied to files:

  • src/openms/include/OpenMS/ANALYSIS/OPENSWATH/MRMAssay.h
  • CHANGELOG
  • doc/doxygen/public/TOPP.doxygen
  • src/topp/PeakPickerIM.cpp
📚 Learning: 2025-08-05T12:43:11.681Z
Learnt from: CR
Repo: OpenMS/OpenMS PR: 0
File: .github/copilot-instructions.md:0-0
Timestamp: 2025-08-05T12:43:11.681Z
Learning: Be aware of OpenMS dependencies and external libraries

Applied to files:

  • CHANGELOG
📚 Learning: 2025-08-05T12:43:11.681Z
Learnt from: CR
Repo: OpenMS/OpenMS PR: 0
File: .github/copilot-instructions.md:0-0
Timestamp: 2025-08-05T12:43:11.681Z
Learning: Do not attempt to build OpenMS unless asked to do so

Applied to files:

  • CHANGELOG
📚 Learning: 2025-08-05T12:43:11.681Z
Learnt from: CR
Repo: OpenMS/OpenMS PR: 0
File: .github/copilot-instructions.md:0-0
Timestamp: 2025-08-05T12:43:11.681Z
Learning: Applies to src/openms/**/*.{cpp,h,hpp,cc,cxx} : Be mindful of memory usage when processing large datasets

Applied to files:

  • CHANGELOG
📚 Learning: 2025-08-05T12:43:11.681Z
Learnt from: CR
Repo: OpenMS/OpenMS PR: 0
File: .github/copilot-instructions.md:0-0
Timestamp: 2025-08-05T12:43:11.681Z
Learning: Applies to src/pyOpenMS/**/*.h : Add Doxygen comments for new public methods and classes in pyOpenMS bindings

Applied to files:

  • doc/doxygen/public/TOPP.doxygen
  • src/topp/PeakPickerIM.cpp
📚 Learning: 2025-04-07T21:16:06.557Z
Learnt from: jpfeuffer
Repo: OpenMS/OpenMS PR: 7970
File: src/pyOpenMS/addons/MSSpectrum.pyx:24-28
Timestamp: 2025-04-07T21:16:06.557Z
Learning: In OpenMS, the proper way to access ion mobility data in MSSpectrum is to use the `getIMData()` method, which returns a tuple with (position, unit). The position corresponds to the index in the FloatDataArrays where the ion mobility data is stored. Always use this method rather than assuming the first FloatDataArray contains ion mobility data.

Applied to files:

  • doc/doxygen/public/TOPP.doxygen
  • src/topp/PeakPickerIM.cpp
📚 Learning: 2025-12-04T16:25:07.026Z
Learnt from: timosachsenberg
Repo: OpenMS/OpenMS PR: 8177
File: src/openms/source/FORMAT/HANDLERS/MzMLHandler.cpp:5069-5074
Timestamp: 2025-12-04T16:25:07.026Z
Learning: In OpenMS mzML writing, PSI-MS term MS:1003441 "ion mobility centroid frame" is a spectrum-level cvParam. It should be written at spectrum level (not scan level).

Applied to files:

  • doc/doxygen/public/TOPP.doxygen
📚 Learning: 2025-08-05T12:43:11.681Z
Learnt from: CR
Repo: OpenMS/OpenMS PR: 0
File: .github/copilot-instructions.md:0-0
Timestamp: 2025-08-05T12:43:11.681Z
Learning: Applies to src/tests/class_tests/openms/**/*.cpp : Write unit tests for new functionality

Applied to files:

  • src/topp/PeakPickerIM.cpp
🪛 GitHub Check: CodeFactor
dockerfiles/Dockerfile

[notice] 245-245: dockerfiles/Dockerfile#L245
Avoid use of wget without progress bar. Use wget --progress=dot:giga <url>. Or consider using -q or -nv (shorthands for --quiet or --no-verbose). (DL3047)

⏰ Context from checks skipped due to timeout of 90000ms. You can increase the timeout in your CodeRabbit configuration to a maximum of 15 minutes (900000ms). (8)
  • GitHub Check: build-and-test (windows-2022, cl.exe, 14.36)
  • GitHub Check: build-and-test (ubuntu-22.04-arm, g++, 11)
  • GitHub Check: build-and-test (ubuntu-22.04, g++, 11)
  • GitHub Check: build-and-test (ubuntu-22.04, g++, 11)
  • GitHub Check: build-and-test (windows-2022, cl.exe, 14.36)
  • GitHub Check: build-and-test (ubuntu-22.04, clang++, 15)
  • GitHub Check: build-and-test (ubuntu-22.04-arm, g++, 11)
  • GitHub Check: cppcheck-test
🔇 Additional comments (25)
src/openms_gui/source/VISUAL/APPLICATIONS/GUITOOLS/FLASHDeconvWizard-resources/FLASHDeconvWizard.plist.in (1)

5-8: macOS min version and relocatable flag look consistent

Setting LSMinimumSystemVersion to 12.0 and BundleIsRelocatable to false is consistent with the other updated GUI plists in this release; I don’t see issues with this metadata change.

src/openms_gui/source/VISUAL/APPLICATIONS/GUITOOLS/INIFileEditor-resources/INIFileEditor.plist.in (1)

5-8: LSMinimumSystemVersion/BundleIsRelocatable additions look good

These keys match the new macOS 12+ baseline and non‑relocatable policy used in the other GUI plist templates; no further changes needed here from my side.

src/openms_gui/source/VISUAL/APPLICATIONS/GUITOOLS/TOPPAS-resources/TOPPAS.plist.in (1)

5-8: TOPPAS plist metadata aligned with other GUI tools

Using LSMinimumSystemVersion = 12.0 and BundleIsRelocatable = false keeps TOPPAS in sync with the rest of the GUI packaging; I don’t see any issues here.

src/openms_gui/source/VISUAL/APPLICATIONS/GUITOOLS/TOPPView-resources/TOPPView.plist.in (1)

5-8: TOPPView deployment metadata update looks fine

The added LSMinimumSystemVersion and BundleIsRelocatable entries match the other GUI plist updates; no additional changes are needed here.

contrib (1)

1-1: Submodule commit is publicly available and properly configured.

The contrib submodule update points to commit 4bec7d958de69ff1201bd6f01a7d67ccaa5ae2bd in the public repository https://github.com/OpenMS/contrib. The submodule configuration in .gitmodules is correct, and the commit hash is valid and tracked in the repository's git index.

To ensure compatibility with other infrastructure changes in this PR (MRMAssay.h API updates, CI workflows, macOS config), consider running the build locally with the initialized submodule to verify no conflicts arise:

git submodule update --init contrib
cd contrib && git show 4bec7d958de69ff1201bd6f01a7d67ccaa5ae2bd
src/tests/topp/INIUpdater_1_noupdate.toppas (1)

4-4: Version bump in test workflow looks correct

Updating the info/version item to 3.5.0 aligns this workflow with the release version and is consistent with the 3.5.0 changelog section.

CHANGELOG (2)

16-16: 3.5.0 release header/date looks consistent

Marking OpenMS 3.5.0 as released in December 2025 matches the current release branch naming and structure of previous sections. Just ensure the month/year still match the final tag date when cutting the release.


96-100: Removed tools list is clear and consistent

The added removal entries for OpenPepXLLF, IDMassAccuracy, SpecLibCreator, and SpecLibSearcher are well worded and consistent with prior “Removed Tools” documentation. This should give users enough context about what disappeared in 3.5.0.

cmake/install_macros.cmake (1)

159-172: Resolving Qt plugin symlinks before install is a sound robustness tweak

Using get_filename_component(... REALPATH) ensures that the actual plugin binary is installed and recorded in ${_qt_plugins_var}, rather than a symlink. This should make subsequent fixup/packaging more reliable without changing behaviour for non-symlink paths.

Please verify Qt6-based packaging on at least one macOS and one Linux configuration to confirm that plugin discovery and fixup_bundle still behave as expected with the resolved paths.

cmake/Windows/Include/NsisMultiUserLang.nsh (1)

7-8: Privilege‑restart note addition looks consistent across languages

The appended “(Note: The installer will restart with elevated privileges)” (or localized variant) to the ALL_USERS / ALL_USERS_UMUI strings is structurally consistent and correctly escaped ($\r$\n) in the updated blocks shown here. No functional concerns from the installer point of view.

Also applies to: 38-41, 69-72, 100-103, 317-320, 658-661, 752-755, 845-847

cmake/package_deb.cmake (1)

10-16: Debian package metadata and filename update looks sane; confirm arch suffix expectations

Switching the maintainer to OpenMS Inc <[email protected]> and basing CPACK_PACKAGE_FILE_NAME on ${CMAKE_SYSTEM_PROCESSOR} is consistent and aligns with the RPM packaging changes. The env override still allows CI/custom naming, which is good.

Just make sure downstream tooling (release scripts, upload automation) expects the new *-Debian-Linux-${CMAKE_SYSTEM_PROCESSOR}.deb naming convention.

cmake/package_rpm.cmake (1)

11-17: RPM vendor and filename pattern change aligns with Debian packaging

Updating CPACK_RPM_PACKAGE_VENDOR and unifying CPACK_PACKAGE_FILE_NAME to use ${CMAKE_SYSTEM_PROCESSOR} (with an env override) is consistent with the Debian packaging changes and should simplify cross‑distro artifact naming.

As with the deb case, please double‑check that any publishing scripts or infrastructure aren’t relying on the old filename pattern.

src/topp/OpenNuXL.cpp (1)

721-776: Aligning OpenNuXL with TOPP naming looks correct

Switching the Doxygen page to @page TOPP_OpenNuXL matches the new TOPP navigation entry and the TOPP_OpenNuXL.cli/html includes. No functional impact and the documentation linkage is consistent.

src/topp/PeakPickerIM.cpp (1)

22-61: TOPP documentation and visibility annotations are consistent

The new @page TOPP_PeakPickerIM block accurately describes the tool, its ion-mobility input assumptions (concatenated mzML with IM float data array), and the three method modes that correspond to the CLI options. Using /// @cond TOPPCLASSES / /// @endcond to hide the driver class from the public docs is aligned with existing TOPP tools. No behavioral changes introduced here.

Also applies to: 63-65, 305-305

doc/doxygen/public/TOPP.doxygen (1)

57-57: New TOPP navigation entries are well placed and named consistently

Adding TOPP_PeakPickerIM under Centroiding, TOPP_PeptideDataBaseSearchFI under SearchEngines, and TOPP_OpenNuXL under Cross-linking cleanly exposes the new public tools and matches their respective @page identifiers. No issues from a documentation or structure perspective.

Also applies to: 110-110, 170-170

.github/workflows/containerdeploy.yml (2)

12-23: Potential issue with job outputs from matrix strategy.

When using a matrix strategy, each matrix entry runs as a separate job. The outputs section (lines 21-23) will be set by whichever job completes last, which may lead to non-deterministic behavior. Since tag_name and downcase_repo are the same for both architectures, this should work correctly in practice, but it's worth noting this pattern.

Consider whether both matrix jobs need to produce outputs, or if this could be refactored to extract common setup into a separate job that runs once.


71-71: LGTM - Consistent platform and provenance configuration.

The platform configuration is correctly propagated to all build steps using ${{ matrix.platform }}, and provenance (mode=max) is appropriately added to the pushed images (library, tools, tools-thirdparty) but not to the test step which only loads locally.

Also applies to: 84-85, 100-101, 117-118

.github/workflows/openms_ci_matrix_full.yml (2)

458-458: Good addition of macOS deployment target.

Setting MACOSX_DEPLOYMENT_TARGET: '12.0' ensures consistent minimum macOS version targeting across builds. The conditional ${{ startsWith(matrix.os, 'macos') && '12.0' || '' }} correctly applies this only to macOS builds.


646-661: Replace actions/download-artifact@v6 with actions/download-artifact@v4.

The latest official version of actions/download-artifact is v4. Version v6 does not exist as an official release and will cause the workflow to fail when attempting to download artifacts.

     - name: Download installer artifacts
-      uses: actions/download-artifact@v6
+      uses: actions/download-artifact@v4
       with:
         pattern: installer-*
         merge-multiple: true

     - name: Download source archive as artifact
-      uses: actions/download-artifact@v6
+      uses: actions/download-artifact@v4
       with:
         name: OpenMS-${{ needs.build-and-test.outputs.version_number }}.tar.gz

     - name: Download changelog as artifact
       if: inputs.do_release
-      uses: actions/download-artifact@v6
+      uses: actions/download-artifact@v4
       with:
         name: changelog.txt

Likely an incorrect or invalid review comment.

dockerfiles/Dockerfile (3)

64-76: LGTM - Architecture-aware CMake installation.

The mapping from Docker's TARGETARCH (amd64/arm64) to CMake's architecture naming (x86_64/aarch64) is correct. The error handling for unsupported architectures is appropriate.


101-127: Good architecture-aware THIRDPARTY handling.

The conditional copying with a warning for missing architecture-specific binaries is a sensible approach. This allows the build to continue on platforms where third-party tools may not be available yet.


133-150: Clean CMake configuration with architecture-aware Qt6 path.

The mapping from TARGETARCH to Debian multiarch tuple (x86_64-linux-gnu/aarch64-linux-gnu) for Qt6 library paths is correct and follows Debian conventions.

CHANGELOG_PARAMS (2)

1-18: LGTM - Release changelog documenting API changes.

The changelog correctly documents:

  • 6 new tools added
  • 4 tools removed
  • Extensive parameter changes

This provides good visibility into breaking changes for users upgrading to version 3.5.0.


56-134: FLASHDeconv parameter restructuring.

The FLASHDeconv tool has undergone significant parameter reorganization:

  • Algorithm:* → FD:* and SD:*
  • FeatureTracing:* → ft:*
  • New output file parameters and quantification options added

This represents a breaking change for existing workflows using FLASHDeconv.

Ensure migration documentation is available for users upgrading from previous versions who use FLASHDeconv in their pipelines.

src/openms/include/OpenMS/ANALYSIS/OPENSWATH/MRMAssay.h (1)

61-64: Switching from boost::unordered_map to std::map ensures deterministic iteration order, which is important for reproducible results. The Doxygen comments correctly document the rationale.

Performance trade-off: std::map has O(log n) lookup complexity compared to O(1) amortized for unordered maps. Since the key type is size_t (SWATH window indices), the number of entries is typically small, so this performance difference should be negligible.

Verified that no downstream code relies on unordered_map-specific behavior (no bucket operations, rehashing, or related patterns found in the codebase).

Comment on lines 720 to 724
LangString MULTIUSER_ALL_USERS ${LANG_GEORGIAN} "For anyone who uses this computer (all users)"
LangString MULTIUSER_ALL_USERS ${LANG_GEORGIAN} "For &anyone who uses this computer (all users)"
LangString MULTIUSER_ALL_USERS ${LANG_GEORGIAN} "For &anyone who uses this computer (all users)$\r$\n(Note: The installer will restart with elevated privileges)"
LangString MULTIUSER_CURRENT_USER ${LANG_GEORGIAN} "For &me ({USER})"
LangString MULTIUSER_ALL_USERS_UMUI ${LANG_GEORGIAN} "For anyone who uses this computer (all users)"
LangString MULTIUSER_ALL_USERS_UMUI ${LANG_GEORGIAN} "For anyone who uses this computer (all users)$\r$\n(Note: The installer will restart with elevated privileges)"
LangString MULTIUSER_CURRENT_USER_UMUI ${LANG_GEORGIAN} "For me ({USER})"

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

⚠️ Potential issue | 🟠 Major

Duplicate MULTIUSER_ALL_USERS definition for Georgian

In the Georgian block, MULTIUSER_ALL_USERS is defined twice (once without the note, once with the new note). NSIS will use the last definition, but keeping both is confusing and error‑prone.

I’d keep only the new variant with the ampersand and note:

-	LangString MULTIUSER_ALL_USERS ${LANG_GEORGIAN} "For anyone who uses this computer (all users)"
-	LangString MULTIUSER_ALL_USERS ${LANG_GEORGIAN} "For &anyone who uses this computer (all users)$\r$\n(Note: The installer will restart with elevated privileges)"
+	LangString MULTIUSER_ALL_USERS ${LANG_GEORGIAN} "For &anyone who uses this computer (all users)$\r$\n(Note: The installer will restart with elevated privileges)"
📝 Committable suggestion

‼️ IMPORTANT
Carefully review the code before committing. Ensure that it accurately replaces the highlighted code, contains no missing lines, and has no issues with indentation. Thoroughly test & benchmark the code to ensure it meets the requirements.

Suggested change
LangString MULTIUSER_ALL_USERS ${LANG_GEORGIAN} "For anyone who uses this computer (all users)"
LangString MULTIUSER_ALL_USERS ${LANG_GEORGIAN} "For &anyone who uses this computer (all users)"
LangString MULTIUSER_ALL_USERS ${LANG_GEORGIAN} "For &anyone who uses this computer (all users)$\r$\n(Note: The installer will restart with elevated privileges)"
LangString MULTIUSER_CURRENT_USER ${LANG_GEORGIAN} "For &me ({USER})"
LangString MULTIUSER_ALL_USERS_UMUI ${LANG_GEORGIAN} "For anyone who uses this computer (all users)"
LangString MULTIUSER_ALL_USERS_UMUI ${LANG_GEORGIAN} "For anyone who uses this computer (all users)$\r$\n(Note: The installer will restart with elevated privileges)"
LangString MULTIUSER_CURRENT_USER_UMUI ${LANG_GEORGIAN} "For me ({USER})"
LangString MULTIUSER_ALL_USERS ${LANG_GEORGIAN} "For &anyone who uses this computer (all users)$\r$\n(Note: The installer will restart with elevated privileges)"
LangString MULTIUSER_CURRENT_USER ${LANG_GEORGIAN} "For &me ({USER})"
LangString MULTIUSER_ALL_USERS_UMUI ${LANG_GEORGIAN} "For anyone who uses this computer (all users)$\r$\n(Note: The installer will restart with elevated privileges)"
LangString MULTIUSER_CURRENT_USER_UMUI ${LANG_GEORGIAN} "For me ({USER})"
🤖 Prompt for AI Agents
In cmake/Windows/Include/NsisMultiUserLang.nsh around lines 720-724 there is a
duplicate LangString entry for MULTIUSER_ALL_USERS in the Georgian section: one
plain and one with the ampersand and restart note; remove the first/earlier
duplicate so only the intended variant with the ampersand and the restart note
remains, leaving the other MULTIUSER_* entries unchanged.

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.

3 participants