// Add the chromatograms to the new peak list
for (ChromatographicPeak finishedPeak : chromatograms) {
SimplePeakListRow newRow = new SimplePeakListRow(newPeakID);
newPeakID++;
newRow.addPeak(dataFile, finishedPeak);
newPeakList.addRow(newRow);
}
// Add new peaklist to the project
MZmineProject currentProject = MZmineCore.getCurrentProject();