Skip to content

Commit

Permalink
Fixed #2065 PeakIntegratedArea is calculated by AbstractChromatogramWSD
Browse files Browse the repository at this point in the history
  • Loading branch information
eselmeister committed Jan 29, 2025
1 parent 2c59f63 commit 4a47e14
Showing 1 changed file with 2 additions and 13 deletions.
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*******************************************************************************
* Copyright (c) 2015, 2018 Michael Chang.
* Copyright (c) 2015, 2025 Michael Chang.
*
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
Expand All @@ -13,7 +13,6 @@
package org.eclipse.chemclipse.wsd.converter.supplier.ocx.model.chromatogram;

import org.eclipse.chemclipse.wsd.model.core.AbstractChromatogramWSD;
import org.eclipse.chemclipse.wsd.model.core.IChromatogramPeakWSD;

public class VendorChromatogram extends AbstractChromatogramWSD implements IVendorChromatogram {

Expand All @@ -29,14 +28,4 @@ public String getName() {

return extractNameFromFile("Chromatogram");
}

@Override
public double getPeakIntegratedArea() {

double integratedArea = 0.0d;
for(IChromatogramPeakWSD peak : getPeaks()) {
integratedArea += peak.getIntegratedArea();
}
return integratedArea;
}
}
}

0 comments on commit 4a47e14

Please sign in to comment.