MZmineProject currentProject = MZmineCore.getCurrentProject();
currentProject.addPeakList(processedPeakList);
// Add task description to peakList
processedPeakList
.addDescriptionOfAppliedTask(new SimplePeakListAppliedMethod(
"Targeted peak detection ", parameters));
logger.log(Level.INFO, "Targeted peak detection on {0}", this.dataFile);
setStatus(TaskStatus.FINISHED);