@Override
@Nonnull
public ExitCode runModule(@Nonnull ParameterSet parameters,
@Nonnull Collection<Task> tasks) {
PeakList peakLists[] = parameters.getParameter(
ScatterPlotParameters.peakLists).getValue();
PeakList peakList = peakLists[0];
if (peakList.getNumberOfRawDataFiles() < 2) {
MZmineCore
.getDesktop()
.displayErrorMessage(
"There is only one raw data file in the selected "
+ "peak list, it is necessary at least two for comparison");