Repository navigation
[CLEANUP] Remove stale duplicate of AnnotatedMSRun.h from source tree - #10685
Conversation
src/openms/source/METADATA/AnnotatedMSRun.h was an outdated copy of src/openms/include/OpenMS/METADATA/AnnotatedMSRun.h. It was added alongside the real header in #7974 and never wired up: it is not listed in any sources.cmake/CMakeLists.txt and nothing includes it (all includes use <OpenMS/METADATA/AnnotatedMSRun.h>). Its declarations have drifted from the real header, so it only misleads greps for API users. Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_011PDe2F8izmxEr4LzrXExtJ
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info
📝 Walkthrough
Priority: ⬇️ Low Change: Other Merge Risk: ⚪ Minimal · up to
|
Description
Deletes
src/openms/source/METADATA/AnnotatedMSRun.h. It is an outdated, unused copy of the real headersrc/openms/include/OpenMS/METADATA/AnnotatedMSRun.h.The copy was added next to the real header in #7974 ("refactor: Store IDs outside of spectra"), probably left behind by that PR's "moved file out of kernel" step. It has never been part of the build:
src/openms/source/METADATA/sources.cmake, which lists onlyAnnotatedMSRun.cpp, or in any other CMake file.AnnotatedMSRun.cpp, is#include <OpenMS/METADATA/AnnotatedMSRun.h>, which resolves to the include-directory header. There are no quoted"AnnotatedMSRun.h"includes, and no include path points intosrc/openms/source/.git diff --no-indexbetween the two shows the real header with about 150 more lines. Greps for API users therefore turn up outdated declarations in it.No functional change.
Verification: with the file deleted, a full build of the default target finished cleanly: 2855/2855 steps, covering libOpenMS, the GUI, TOPP tools and all class tests.
AnnotatedMSRun_testpasses.OPENMS_USE_VCPKG=OFF) instead of the vcpkg preset: Arrow 26, Qt 6.4, Boost 1.83, HiGHS 1.14.0.Checklist
AnnotatedMSRun_test; full build of all class tests)Generated by Claude Code
Summary by CodeRabbit
AnnotatedMSRunpublic API and its associated access, modification, indexing, and iteration capabilities.