Repository navigation
[FIX,TEST] FFId: call run() with the current signature, unbreaking develop - #10011
Conversation
…velop develop does not compile. Two commits landed in an incompatible order: - 9858b89 (#9995) removed FeatureFinderIdentification's external peptide ID path, changing run() to run(peptides, proteins, features, seeds, spectra_file); - c90acf9 ("guard FFId against empty MS data", #9980) added a test call using the previous seven-argument form, which no longer exists. Result on develop HEAD: FeatureFinderIdentificationAlgorithm_test.cpp:72:26: error: no matching function for call to 'OpenMS::FeatureFinderIdentificationAlgorithm::run(...)' This went unnoticed because the most recent full Build and Test run on develop predates both merges; everything green since has been cppcheck only. Drop the two removed arguments from the call. The test's purpose is unchanged and still holds: run() must throw IllegalArgument when the MS data is empty. Verified against develop HEAD - the test compiles and passes. Co-Authored-By: Claude Opus 5 (1M context) <[email protected]>
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: Organization UI Review profile: CHILL Plan: Pro Plus Run ID: 📒 Files selected for processing (1)
Included review availability: Your plan provides up to 4 included reviews per hour; 2 remain after this review. 📝 WalkthroughWalkthroughThe test now calls ChangesFeature Finder test update
Suggested reviewers: Poem
Merge Risk: ⚪ Minimal · up to This test-only fix restores compilation while preserving the existing empty-MS-data regression check; no actionable merge-blocking risk remains after normal checks and review. 🚥 Pre-merge checks | ✅ 4 | ❌ 1❌ Failed checks (1 warning)
✅ Passed checks (4 passed)
✨ Finishing Touches 💡 1📝 Generate docstrings 💡
🧪 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 |
|
sorry my bad |
developdoes not compile. Everybuild-and-testjob on every platform fails at the same line.Cause
Two commits landed in an incompatible order:
9858b8963b([FEATURE,TOPP] FeatureFinderIdentification: remove the external peptide ID path #9995) removed FeatureFinderIdentification's external peptide ID path, changing the signature toc90acf92fd("guard FFId against empty MS data", [TOPP] ProteomicsLFQ: FAIMS data with -Seeding:algorithm biosaur2 hands FeatureFinderIdentification an emptied MSExperiment #9980) added a test call using the previous seven-argument form:algo.run(peptides, proteins, PeptideIdentificationList(), vector<ProteinIdentification>(), features, seeds, "")Neither is wrong on its own; together they are inconsistent. On
developHEAD (13047432ae):Why it went unnoticed
The most recent full Build and Test run on
developis14da2d038, which predates both merges. Everything green ondevelopsince then has beencppcheckonly, which does not compile the class tests. The breakage surfaced on the next PR to be built against the merged state (#10010), where it is the sole compiler error across the whole job and touches none of that PR's files.The change
Drop the two removed arguments from the call. Nothing else — the test's purpose is unchanged and still holds:
run()must throwIllegalArgumentwhen the MS data is empty, which is what #9980 added the guard for. BothPeptideIdentificationListandvector<ProteinIdentification>remain in use for the surviving arguments, so no includes become unused.Verification
Built and run against
developHEAD:FeatureFinderIdentificationAlgorithm_testcompiles and passes (1/1). The guard still fires through the five-argument entry point, so the regression #9980 added is still covered.🤖 Generated with Claude Code
Summary by CodeRabbit