Repository navigation
Remove GenericWrapper - #8981
Merged
Merged
Conversation
Copilot
AI
changed the title
[WIP] Remove GenericWrapper as it is not used
Remove GenericWrapper
Mar 24, 2026
timosachsenberg
approved these changes
Mar 24, 2026
cbielow
reviewed
Mar 24, 2026
cbielow
left a comment
Contributor
There was a problem hiding this comment.
also ToolDescriptionHandler and ToolDescriptionFile can be removed
| // special case of GenericWrapper: since we need the subSectionDefaults before pushing the cmd arguments in there | ||
| // but the 'type' is empty currently, | ||
| // we extract and set it beforehand | ||
| // extract '-type' from command line args upfront, since subsection defaults may depend on it |
Contributor
There was a problem hiding this comment.
I think there is a single tool left which has a -type now.
So the whole code below can be removed as well...
| { | ||
| } | ||
|
|
||
| void ToolDescription::addExternalType(const String& type, const ToolExternalDetails& details) |
Contributor
There was a problem hiding this comment.
this stuff can go as welll
Comment on lines
-46
to
-48
| TEST_TRUE(list.find("DecoyDatabase") != list.end()) | ||
| TEST_TRUE(list.find("GenericWrapper") != list.end()) | ||
| TEST_TRUE(list.size() > 30) // assume we have over 30 tools in there |
Contributor
There was a problem hiding this comment.
it deleted too much here...
timosachsenberg
added a commit
that referenced
this pull request
Mar 24, 2026
…eftovers - Remove early '-type' extraction in TOPPBase::parseCommandLine_ (only needed for GenericWrapper subsection defaults) - Remove ToolDescription::addExternalType() and append() methods (unused after GenericWrapper removal) - Remove stray 'Internal::ToolDescription bla' variable and unused LogStream include - Remove stale GenericWrapper assertion in ToolHandler_test - Remove addExternalType/append test stubs in ToolDescription_test Co-Authored-By: Claude Opus 4.6 (1M context) <[email protected]>
2 tasks done
timosachsenberg
added a commit
that referenced
this pull request
Mar 24, 2026
…eftovers (#8986) - Remove early '-type' extraction in TOPPBase::parseCommandLine_ (only needed for GenericWrapper subsection defaults) - Remove ToolDescription::addExternalType() and append() methods (unused after GenericWrapper removal) - Remove stray 'Internal::ToolDescription bla' variable and unused LogStream include - Remove stale GenericWrapper assertion in ToolHandler_test - Remove addExternalType/append test stubs in ToolDescription_test Co-authored-by: Claude Opus 4.6 (1M context) <[email protected]>
github-actions Bot
pushed a commit
that referenced
this pull request
Mar 25, 2026
- Update QPX output filenames to quantms.* scheme (#8974) - Add GenericWrapper removal (BREAKING) (#8981) - Add ModifiedSincSmoother new algorithm (#8217) - Add experimental BrukerTimsFile/BRUKER_TDF format support (#8975) Co-authored-by: Copilot <[email protected]>
timosachsenberg
pushed a commit
that referenced
this pull request
Mar 25, 2026
- Update QPX output filenames to quantms.* scheme (#8974) - Add GenericWrapper removal (BREAKING) (#8981) - Add ModifiedSincSmoother new algorithm (#8217) - Add experimental BrukerTimsFile/BRUKER_TDF format support (#8975) Co-authored-by: Copilot <[email protected]> Co-authored-by: Copilot <[email protected]>
timosachsenberg
added a commit
that referenced
this pull request
Jul 14, 2026
These SCRIPTS/*.R helpers were invoked exclusively through the TOOLS/EXTERNAL .ttd GenericWrapper wrappers removed in the previous commit (GenericWrapper itself was removed in #8981). None are referenced by any C++ code, test, or documentation: - Rscript_generic_example.R (Rscript_generic.ttd; header names TOPP:GenericWrapper) - ProduceQCFigures_{acc,idmap,inj,rt_acc,setid,tic}.R (Rscript_qcfigures_*.ttd) - mzTab2tsv_{PEP,PRT,PSM}.R (Rscript_mzTab2tsv_*.ttd) Still-live SCRIPTS helpers (InternalCalibration_*.R via RWrapper::runScript, ProteomicsLFQ.R, plot_trafo.R, ropenms.R) are left untouched. Co-Authored-By: Claude Opus 4.8 (1M context) <[email protected]>
timosachsenberg
added a commit
that referenced
this pull request
Jul 14, 2026
…lToolsPath accessor (#9735) * cleanup: remove orphaned TOOLS/EXTERNAL .ttd tree and dead getExternalToolsPath accessor The share/OpenMS/TOOLS/EXTERNAL directory held GenericWrapper tool-type descriptions (.ttd). GenericWrapper was removed in #8981, and nothing has loaded these files at runtime since: ToolHandler only scans TOOLS/INTERNAL, and ToolHandler::getExternalToolsPath() had zero callers in the codebase. The files were still shipped via the blanket share/ install rule. - Delete share/OpenMS/TOOLS/EXTERNAL (25 files). - Remove ToolHandler::getExternalToolsPath() and its doc note. - ToolDescriptionFile is still live (loads TOOLS/INTERNAL / OPENMS_TTD_INTERNAL_PATH), so preserve parser coverage: relocate two .ttd files into the test-data tree as ToolDescriptionFile_test_{1,2}.ttd and load them via OPENMS_GET_TEST_DATA_PATH. - ToolHandler_test: drop the getExternalToolsPath section and fix a copy-paste bug where the getInternalToolsPath section called the external accessor. Co-Authored-By: Claude Opus 4.8 (1M context) <[email protected]> * cleanup: remove GenericWrapper-only R helper scripts orphaned by #8981 These SCRIPTS/*.R helpers were invoked exclusively through the TOOLS/EXTERNAL .ttd GenericWrapper wrappers removed in the previous commit (GenericWrapper itself was removed in #8981). None are referenced by any C++ code, test, or documentation: - Rscript_generic_example.R (Rscript_generic.ttd; header names TOPP:GenericWrapper) - ProduceQCFigures_{acc,idmap,inj,rt_acc,setid,tic}.R (Rscript_qcfigures_*.ttd) - mzTab2tsv_{PEP,PRT,PSM}.R (Rscript_mzTab2tsv_*.ttd) Still-live SCRIPTS helpers (InternalCalibration_*.R via RWrapper::runScript, ProteomicsLFQ.R, plot_trafo.R, ropenms.R) are left untouched. Co-Authored-By: Claude Opus 4.8 (1M context) <[email protected]> --------- Co-authored-by: Claude Opus 4.8 (1M context) <[email protected]>
1 of 5 tasks
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Removes the
GenericWrapperTOPP tool and all related infrastructure.GenericWrapperwrapped external tools via.ttdconfiguration files and was unused.Deleted
src/topp/GenericWrapper.cpp— tool implementationshare/OpenMS/examples/TOPPAS/GenericWrapper_Rscript-generic.toppas— example pipelineToolHandler
includeGenericWrapperparameter fromgetTOPPToolList()(now signature isgetTOPPToolList()).ttdloading machinery:getExternalTools_(),loadExternalToolConfig_(),getExternalToolConfigFiles_(), and their static membersgetExternalToolsPath()retained (still used byToolDescriptionFile_test)Build / CMake
executables.cmake,src/topp/CMakeLists.txt,cwl_generation.cmake,knime_package_support.cmakeGenericWrapper special-cases removed from
TOPPBase.cpp— tool validation check and subsection commentToolDescription.cpp— duplicate-type error hintINIUpdater.cpp(APPLICATIONS + TOPP) —tool_typepreservation branch andgetTOPPToolList(true)callTOPPASBase.cpp—getTOPPToolList(true)callTOPPASToolVertex.cpp—ETool:prefix commentsMascotRemoteQuery.cpp,FileConverter.cpp,TOPP.doxygen,TOPPDocumenter.cpp— doc referencesTests
TOPPWRITEINI_GenericWrappertest and relatedREMOVE_ITEMguards fromsrc/tests/topp/CMakeLists.txtGenericWrapper_pipeline skip fromsrc/tests/toppas/CMakeLists.txtToolHandler_test.cppto reflect simplified signatureOriginal prompt
⌨️ Start Copilot coding agent tasks without leaving your editor — available in VS Code, Visual Studio, JetBrains IDEs and Eclipse.