Skip to content

Commit df10bc6

Browse files
[INTERNAL,API] gsl-removal: adaption to use ListUtils
1 parent e08baf9 commit df10bc6

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

‎include/OpenMS/FILTERING/TRANSFORMERS/SpectraMerger.h‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -429,7 +429,7 @@ namespace OpenMS
429429
exp.clear(false);
430430
exp.getSpectra().insert(exp.end(), exp_tmp.begin(), exp_tmp.end());
431431

432-
// exp.erase(remove_if(exp.begin(), exp.end(), InMSLevelRange<typename MapType::SpectrumType>(IntList::create(String(ms_level)), false)), exp.end());
432+
// exp.erase(remove_if(exp.begin(), exp.end(), InMSLevelRange<typename MapType::SpectrumType>(ListUtils::create<int>(String(ms_level)), false)), exp.end());
433433

434434
// ... and add consensus spectra
435435
exp.getSpectra().insert(exp.end(), merged_spectra.begin(), merged_spectra.end());

‎source/APPLICATIONS/TOPP/SequestAdapter.C‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -148,7 +148,7 @@ protected:
148148

149149
// TODO: if this get rewritten at some point you can use 'registerInputFile_()' to have the user
150150
// specify the location of 'sequest.exe' (or similar). In this case also use "skipexists as a tag argument
151-
// e.g. registerInputFile_("xtandem_executable", "<file>", "", "X!Tandem executable of the installtation e.g. 'tandem.exe'", true, false, StringList::create("skipexists"));
151+
// e.g. registerInputFile_("xtandem_executable", "<file>", "", "X!Tandem executable of the installtation e.g. 'tandem.exe'", true, false, ListUtils::create<String>("skipexists"));
152152
// to avoid TOPPBase throwing an error when sequest.exe is not found in the current directory, but can be found in $PATH
153153

154154
registerStringOption_("sequest_computer", "<name>", "", "the name of the computer in the network that hosts Sequest\n"

0 commit comments

Comments
 (0)