add new parameter to wizard
@@ -39,6 +39,7 @@ import io.github.mzmine.modules.dataprocessing.featdet_imsexpander.ImsExpanderPa
import io.github.mzmine.modules.dataprocessing.featdet_massdetection.DetectIsotopesParameter;
import io.github.mzmine.modules.dataprocessing.featdet_massdetection.MassDetectionModule;
import io.github.mzmine.modules.dataprocessing.featdet_massdetection.MassDetectionParameters;
+import io.github.mzmine.modules.dataprocessing.featdet_massdetection.SelectedScanTypes;
import io.github.mzmine.modules.dataprocessing.featdet_massdetection.auto.AutoMassDetector;
import io.github.mzmine.modules.dataprocessing.featdet_massdetection.auto.AutoMassDetectorParameters;
import io.github.mzmine.modules.dataprocessing.featdet_smoothing.SmoothingModule;
@@ -424,6 +425,8 @@ public class BatchWizardController {
param.getParameter(MassDetectionParameters.dataFiles)
.setValue(new RawDataFilesSelection(RawDataFilesSelectionType.BATCH_LAST_FILES));
param.getParameter(MassDetectionParameters.scanSelection).setValue(new ScanSelection(msLevel));
+ param.getParameter(MassDetectionParameters.scanTypes).setValue(
+ cbIonMobility.isSelected() ? SelectedScanTypes.MOBLITY_SCANS : SelectedScanTypes.SCANS);
param.getParameter(MassDetectionParameters.massDetector).setValue(
new MZmineProcessingStepImpl<>(MZmineCore.getModuleInstance(AutoMassDetector.class),
detectorParam));
