Repository navigation
Conversation
Integrates github.com/jpfeuffer/openms-thermo-bridge using CMake FetchContent to enable native reading of Thermo RAW files into MSExperiment. - Add WITH_THERMO_RAW CMake option (OFF by default) - FetchContent openms-thermo-bridge from GitHub - Create ThermoRawFile class (header + implementation) - Register in FileHandler, FileTypes, and FORMAT sources - Handle runtime file deployment for managed .NET bridge DLLs - Add test data download option (ENABLE_THERMO_RAW_TESTS) Agent-Logs-Url: https://github.com/OpenMS/OpenMS/sessions/0baa4939-e841-4551-84a6-7d773b80aa2c Co-authored-by: jpfeuffer <[email protected]>
- Remove unnecessary DataProcessing clear for centroid scans - Add comment explaining HCD -> BEAM mapping - Add warning log for unknown activation types - Fix FetchContent SOURCE_DIR variable name typo Agent-Logs-Url: https://github.com/OpenMS/OpenMS/sessions/0baa4939-e841-4551-84a6-7d773b80aa2c Co-authored-by: jpfeuffer <[email protected]>
|
Probably needs some better tests. But I think I need a computer for that. |
Co-authored-by: Julianus Pfeuffer <[email protected]>
|
@copilot I knew you would be stupid for this. Why am I even trying? CI configure errors all over the place!!! CMake Error in CMakeLists.txt: Fix it! Don't stop until you are done! |
Fixed in f61111b. The |
|
@copilot wow dozens of compile errors. Stupidest bot alive! Fix it!! |
Fixed in b204575. The compile errors were caused by two issues:
|
|
@copilot hundreds of linking errors at Topp tools: [1277/2794] Linking CXX executable bin/AccurateMassSearch |
…PP linker errors Agent-Logs-Url: https://github.com/OpenMS/OpenMS/sessions/567f4a37-f528-4846-a93e-0eed64bc36b1 Co-authored-by: jpfeuffer <[email protected]>
Thermo's RawFileReader does not ship native dependencies for arm64 on either macOS or Linux. The bridge configures and builds (it is just managed .NET), but at runtime the C# code throws a managed exception when it tries to open a RAW file because the underlying native helpers aren't present. CI confirmed: ubuntu-24.04-arm fails ThermoRawFile_test with "Failed to open RAW file (code -2)" (managed exception). Extend the existing macOS arm64 default-off to also cover Linux arm64 and update the warning/status message accordingly. Co-Authored-By: Claude Opus 4.7 (1M context) <[email protected]>
|
@copilot resolve the merge conflicts in this pull request |
…NETALIGN blocks in src/openms/CMakeLists.txt Co-authored-by: timosachsenberg <[email protected]>
…ocs, note dotnet runtime requirement Agent-Logs-Url: https://github.com/OpenMS/OpenMS/sessions/9832bbed-ddc6-48f5-a7f3-ecc197b880a8 Co-authored-by: timosachsenberg <[email protected]>
Added
Done in 3a53b5b. The only conflict was in |
|
@timosachsenberg I think longterm we can enable it in pyopenms but we might need to check if packaging works. It might need extra care because the vendor dlls probably wont be found by auditwheel because they are not linked (but loaded at runtime). |
|
Would be fine with me e.g. because @singjc could test it on Astral DIA data . We very likely need a way to convert from raw to mzPeak in the future anyway. My only concern is that this is only supported on a subset of or deployment targets (but that can't be helped e.g. the missing arm64 support from Thermo...). |
|
Just spam thermo. I am linking their issue from every repo that I can find. |
|
Caution Full blocker by Thermo: thermofisherlsms/RawFileReader#21 |
|
@timosachsenberg anything missing here? |
|
does it package the license yet? |
|
@copilot please make sure to download the license from the RawFileParser upstream c# project and install it with OpenMS at the cmake install phase |
… repo at cmake install phase Agent-Logs-Url: https://github.com/OpenMS/OpenMS/sessions/58dfa2f7-ca3a-497c-98fd-c5b6ad8c473d Co-authored-by: jpfeuffer <[email protected]>
Done in 2e1bdb2. In Warning Firewall rules blocked me from connecting to one or more addresses (expand for details)I tried to connect to the following addresses, but was blocked by firewall rules:
If you need me to access, download, or install something from one of these locations, you can either:
|
|
@copilot resolve the merge conflicts in this pull request |
…SOLVER, WITH_THERMO_RAW, ENABLE_THERMO_RAW_TESTS, WITH_WNETALIGN Co-authored-by: timosachsenberg <[email protected]>
Done in f87549a. The only conflict was in |
…ests-and-review-comments
v0.2.0 ships native osx-arm64 managed runtime assets, so the arm64/Apple workarounds added earlier in this branch are no longer needed. Changes: - cmake/cmake_findExternalLibs.cmake: pin GIT_TAG to v0.2.0 - CMakeLists.txt: narrow the arm64 default-OFF guard to Linux aarch64 only (macOS arm64 is now fully supported); update messages - .github/workflows/pyopenms-wheels-cibuildwheel.yml: remove -DWITH_THERMO_RAW=OFF from the macOS arm64 wheel build job - ThermoRawFile_test.cpp: update comment to reflect that only Linux aarch64 still defaults to OFF
The bridge calls `dotnet publish` for ThermoWrapperManaged.csproj and FindDotNetHost.cmake needs `nethost.h`/`libnethost` from the Microsoft.NETCore.App.Host.osx-arm64 SDK pack. macOS runners do not ship a .NET SDK by default, so configure fails with `DotNetHost_INCLUDE_DIR/DotNetHost_LIBRARY` missing. Add an `actions/setup-dotnet@v4` step pinned to 8.0.x (matching the managed wrapper's net8.0 target) in: - .github/actions/dependencies/action.yml (covers macOS xcode CI) - .github/workflows/pyopenms-wheels-cibuildwheel.yml (covers wheel build-wheels-macos job) setup-dotnet exports `DOTNET_ROOT`, which FindDotNetHost.cmake picks up to locate the host pack. Co-Authored-By: Claude Opus 4.7 (1M context) <[email protected]>
|
Merged in other pr |
#include <filesystem>explicitly in ThermoRawFile.cppexpat start ofload()to avoid accumulating spectraexp.updateRanges()aftersortSpectra(true)exp.updateRanges()after MS-level filtering in FileHandler.cpp${openmsthermobridge_SOURCE_DIR}→${OpenMSThermoBridge_SOURCE_DIR}in cmakev0.1.1WITH_THERMO_RAWandENABLE_THERMO_RAW_TESTSdefaults to ON per @jpfeufferopenms_thermo_bridge::→openms::thermo_bridge::(actual namespace in bridge library)BUILD_SHARED_LIBS=OFFaroundFetchContent_MakeAvailable(OpenMSThermoBridge)so bridge symbols are absorbed intolibOpenMS.so, fixing TOPP tool linker errorsopenms_thermo_bridgefully internal: removeinstall_library+openms_register_export_target— bridge is private static dep absorbed intolibOpenMS.soCMAKE_POSITION_INDEPENDENT_CODE=ON+set_target_properties(POSITION_INDEPENDENT_CODE ON)for bridge so it compiles with-fPICwhen absorbed intolibOpenMS.soFileTypes_test.cpp,src/openms/CMakeLists.txt,doc/doxygen/install/common-cmake-parameters.doxygenWITH_THERMO_RAWandENABLE_THERMO_RAW_TESTStocommon-cmake-parameters.doxygen; document .NET runtime requirement (dotnet-runtime-8.0/libnethost-devon Linux)License.docfrom the upstream GitHub repo (pinned to the exact commit used by the bridge) during cmake configure and install it to${INSTALL_SHARE_DIR}/LICENSES/ThermoRawFileReader-License.docat cmake install phase