Skip to content

Commit

Permalink
Merge pull request mzmine#589 from robinschmid/patch_batch_wiz
Browse files Browse the repository at this point in the history
Patch batch wizard remove selected libraries
  • Loading branch information
robinschmid authored Mar 9, 2022
2 parents 46b7b5d + 791d36d commit f6df3ae
Showing 1 changed file with 3 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -78,6 +78,7 @@
import io.github.mzmine.modules.io.export_features_sirius.SiriusExportParameters;
import io.github.mzmine.modules.io.import_rawdata_all.AllSpectralDataImportModule;
import io.github.mzmine.modules.io.import_rawdata_all.AllSpectralDataImportParameters;
import io.github.mzmine.modules.io.import_spectral_library.SpectralLibraryImportParameters;
import io.github.mzmine.modules.io.spectraldbsubmit.formats.GnpsValues.Polarity;
import io.github.mzmine.modules.tools.batchwizard.defaults.DefaultLcParameters;
import io.github.mzmine.modules.tools.batchwizard.defaults.DefaultMsParameters;
Expand Down Expand Up @@ -429,6 +430,8 @@ private MZmineProcessingStep<MZmineProcessingModule> makeImportTask(FileNamesPar
.getModuleParameters(AllSpectralDataImportModule.class).cloneParameterSet();
param.getParameter(AllSpectralDataImportParameters.advancedImport).setValue(false);
param.getParameter(AllSpectralDataImportParameters.fileNames).setValue(files.getValue());
// for now import no libraries
param.getParameter(SpectralLibraryImportParameters.dataBaseFiles).setValue(new File[0]);

return new MZmineProcessingStepImpl<>(
MZmineCore.getModuleInstance(AllSpectralDataImportModule.class), param);
Expand Down

0 comments on commit f6df3ae

Please sign in to comment.