Repository navigation
doc/code_examples: drop stale String.h include (fixes red class-topp build on develop) - #9471
Conversation
#9468 removed the obsolete String/StringConversions/StringUtilsSimple shim headers, but three code-example tutorials still include <OpenMS/DATASTRUCTURES/String.h>. That breaks the class-topp CI build (which compiles doc/code_examples) on develop and on every branch based on it, e.g.: doc/code_examples/Tutorial_IdentificationClasses.cpp:14: fatal error: OpenMS/DATASTRUCTURES/String.h: No such file or directory None of the three files use the String type, so the include is simply removed. All three compile and link again locally. Co-Authored-By: Claude Opus 4.8 <[email protected]>
|
@timosachsenberg The following names might be missing from the
Please consider applying the following patch: --- AUTHORS 2026-06-10 12:01:46.767945463 +0000
+++ AUTHORS.new 2026-06-10 12:01:51.650236986 +0000
@@ -22,8 +22,8 @@
- Chirag Dave
- Chris Bauer
- Chris Bielow
- - Christie Mathews
- Christian Ehrlich
+ - Christie Mathews
- Clemens Groepl
- Cornelia Friedle
- Daniel Jameson |
|
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)
💤 Files with no reviewable changes (3)
📝 WalkthroughWalkthroughThree tutorial example files were updated to remove unused ChangesTutorial example include cleanup
🚥 Pre-merge checks | ✅ 5✅ Passed checks (5 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. ✨ Finishing Touches📝 Generate docstrings
🧪 Generate unit tests (beta)
Warning Review ran into problems🔥 ProblemsGit: Failed to clone repository. Please run the 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 |
|
small oversight |
Problem
developis red: thebuild-and-test (… class-topp …)job fails on every platform with#9468 removed the obsolete
String/StringConversions/StringUtilsSimpleshim headers, but three code-example tutorials were left still#include-ing the removed<OpenMS/DATASTRUCTURES/String.h>. Theclass-toppbuild compilesdoc/code_examples/, so it dies there — ondevelopitself and on every open PR branched after #9468 (that's how I found it: a FragmentIndex PR's CI was red purely from this, not its own changes).Fix
Remove the dead include from the three affected files:
doc/code_examples/Tutorial_IdentificationClasses.cppdoc/code_examples/Tutorial_MetaInfo.cppdoc/code_examples/Tutorial_Logger.cppNone of them use the
Stringtype (verified), so the include is simply dropped — no replacement needed. A full-repo grep confirms these are the only three files still referencing the removed header.Verification
All three targets build and link cleanly locally (
Tutorial_IdentificationClasses,Tutorial_Logger,Tutorial_MetaInfo), where they failed to compile before.🤖 Generated with Claude Code
Summary by CodeRabbit