Repository navigation
[TEST] Add OpenSwathParquetExporter_test (feature/transition score Parquet export) - #9571
timosachsenberg wants to merge 3 commits into
Conversation
…rquet export) OpenSwathParquetExporter - the 3.6 native-Parquet exporter for OpenSWATH feature- and transition-level score tables - had no test. Adds a class test for both write methods that builds a small score table, writes it to a Parquet file, reads it back via ParquetFile, and verifies the round-tripped key columns: - writeFeatureScores: FEATURE_ID, PROTEIN_ACCESSION, MODIFIED_SEQUENCE, PRECURSOR_MZ and EXP_RT survive the round-trip for two rows; - writeTransitionScores: TRANSITION_ID, PRODUCT_MZ, ANNOTATION and the per-row TRANSITION_DECOY flag survive, and an empty table is accepted and produces a valid 0-row (schema-only) file. 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 (3)
📝 WalkthroughWalkthroughAdds a new unit test file ChangesOpenSwathParquetExporter Test Addition
Poem
🚥 Pre-merge checks | ✅ 5✅ Passed checks (5 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:30.934932520 +0000
+++ AUTHORS.new 2026-06-16 01:47:35.788692925 +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
|
merged as #9681, |
Context
Part of the OpenMS 3.6.0 pre-release testing plan (#9460), §3 (native Parquet I/O) + §4 (OpenSwathWorkflow).
OpenSwathParquetExporter— the 3.6 native-Parquet exporter for OpenSWATH feature- and transition-level score tables — had no test file.Change
Adds a class test for both write methods. Each builds a small score table, writes it to a Parquet file, reads it back via
ParquetFile, and verifies the round-tripped key columns:writeFeatureScores:FEATURE_ID,PROTEIN_ACCESSION,MODIFIED_SEQUENCE,PRECURSOR_MZandEXP_RTsurvive the round-trip for two rows;writeTransitionScores:TRANSITION_ID,PRODUCT_MZ,ANNOTATIONand the per-rowTRANSITION_DECOYflag survive, and an empty table is accepted and produces a valid 0-row (schema-only) file.Notes
executables.cmake(swath_executables_list, underNOT DISABLE_OPENSWATH).🤖 Generated with Claude Code
Summary by CodeRabbit