use of net.sf.mzmine.datamodel.PeakList.PeakListAppliedMethod in project mzmine2 by mzmine.
the class IsotopePeakScannerTask method addResultToProject.
/**
* Add feature list to project, delete old if requested, add description to result
*/
public void addResultToProject() {
// Add new peakList to the project
project.addPeakList(resultPeakList);
// Load previous applied methods
for (PeakListAppliedMethod proc : peakList.getAppliedMethods()) {
resultPeakList.addDescriptionOfAppliedTask(proc);
}
// Add task description to peakList
resultPeakList.addDescriptionOfAppliedTask(new SimplePeakListAppliedMethod("IsotopePeakScanner", parameters));
}
Aggregations