Repository navigation
[TEST] Add OpenSwathResultsExporter_test (flat per-feature result export) - #9572
timosachsenberg merged 5 commits into
Conversation
…ort) OpenSwathResultsExporter - the 3.6 flat per-feature OpenSWATH result writer (TSV / Parquet) - had no test. Adds a class test for write() exercising both output formats from the same rows: - TSV: the header column layout (run_id, feature_id, transition_group_id, Sequence, RT, ...) is pinned and the data rows map to the populated fields; - Parquet: the file reads back via ParquetFile with the expected row count and the same column names carrying the round-tripped values (feature_id, Sequence, transition_group_id). Registered in executables.cmake (swath_executables_list, under NOT DISABLE_OPENSWATH). Part of the OpenMS 3.6.0 pre-release testing plan (OpenMS#9460). Tests only; no production code changes. Co-Authored-By: Claude Opus 4.8 <[email protected]>
|
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 selected for processing (2)
🚧 Files skipped from review as they are similar to previous changes (1)
📝 WalkthroughWalkthroughA new C++ unit test file is added for ChangesOpenSwathResultsExporter Test Suite
Poem
🚥 Pre-merge checks | ✅ 4 | ❌ 1❌ Failed checks (1 warning)
✅ Passed checks (4 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. ✨ 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 |
|
@timosachsenberg The following names might be missing from the
Please consider applying the following patch: --- AUTHORS 2026-06-16 01:47:44.445306402 +0000
+++ AUTHORS.new 2026-06-16 01:47:49.414033126 +0000
@@ -23,8 +23,8 @@
- Chirag Dave
- Chris Bauer
- Chris Bielow
- - Christie Mathews
- Christian Ehrlich
+ - Christie Mathews
- Clemens Groepl
- Cornelia Friedle
- Daniel Jameson |
|
Adversarial review result: I did not find a blocking issue in this pass. This is a test-only addition for |
# Conflicts: # src/tests/class_tests/openms/CMakeLists.txt
# Conflicts: # src/tests/class_tests/openms/CMakeLists.txt # src/tests/class_tests/openms/executables.cmake
* docs(changelog): add entries for #9492, #9752 Backfills two CHANGELOG entries for recently merged PRs that landed without their own entry: - #9752: new BUILD_TOPP_TOOLS / INSTALL_OPENMS_EXAMPLES CMake options enabling a core-only OpenMS SDK build - #9492: null-dereference guards in TargetedExperiment::get*ByRef and ReactionMonitoringTransition::getPrediction All other PRs merged since the last CHANGELOG update (#9613, #9750, #9738) already carried their own entries; #9572 is test-only and follows the existing convention of not adding a changelog entry for test-only PRs in this series. Co-Authored-By: Claude Sonnet 5 <[email protected]> Claude-Session: https://claude.ai/code/session_01QcFv1tmBLzroCNJFjoqhZt * Update CHANGELOG Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com> --------- Co-authored-by: Claude <[email protected]> Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>
…S#9753) * docs(changelog): add entries for OpenMS#9492, OpenMS#9752 Backfills two CHANGELOG entries for recently merged PRs that landed without their own entry: - OpenMS#9752: new BUILD_TOPP_TOOLS / INSTALL_OPENMS_EXAMPLES CMake options enabling a core-only OpenMS SDK build - OpenMS#9492: null-dereference guards in TargetedExperiment::get*ByRef and ReactionMonitoringTransition::getPrediction All other PRs merged since the last CHANGELOG update (OpenMS#9613, OpenMS#9750, OpenMS#9738) already carried their own entries; OpenMS#9572 is test-only and follows the existing convention of not adding a changelog entry for test-only PRs in this series. Co-Authored-By: Claude Sonnet 5 <[email protected]> Claude-Session: https://claude.ai/code/session_01QcFv1tmBLzroCNJFjoqhZt * Update CHANGELOG Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com> --------- Co-authored-by: Claude <[email protected]> Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>
Context
Part of the OpenMS 3.6.0 pre-release testing plan (#9460), §4 (OpenSwathWorkflow). Completes the OpenSWATH exporter test trio alongside #9564 (matrix) and #9571 (parquet score tables).
OpenSwathResultsExporter— the 3.6 flat per-feature OpenSWATH result writer (TSV / Parquet) — had no test file.Change
Adds a class test for
write()exercising both output formats from the same rows:run_id,feature_id,transition_group_id,Sequence,RT, …) is pinned and the data rows map to the populated fields;ParquetFilewith the expected row count and the same column names carrying the round-tripped values (feature_id,Sequence,transition_group_id).Notes
executables.cmake(swath_executables_list, underNOT DISABLE_OPENSWATH).🤖 Generated with Claude Code
Summary by CodeRabbit