Skip to content

Commit

Permalink
Fix WSD peak import.
Browse files Browse the repository at this point in the history
  • Loading branch information
Mailaender committed Jan 4, 2022
1 parent 6fbf668 commit db0629a
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -87,6 +87,7 @@
import org.eclipse.chemclipse.wsd.model.core.IScanWSD;
import org.eclipse.chemclipse.wsd.model.core.implementation.ChromatogramPeakWSD;
import org.eclipse.chemclipse.wsd.model.core.implementation.PeakModelWSD;
import org.eclipse.chemclipse.wsd.model.core.implementation.ScanSignalWSD;
import org.eclipse.chemclipse.xxd.converter.supplier.chemclipse.internal.support.BaselineElement;
import org.eclipse.chemclipse.xxd.converter.supplier.chemclipse.internal.support.IBaselineElement;
import org.eclipse.chemclipse.xxd.converter.supplier.chemclipse.internal.support.IFormat;
Expand Down Expand Up @@ -398,7 +399,7 @@ private IChromatogramPeakWSD readPeak(DataInputStream dataInputStream, IChromato
float totalSignalScan = dataInputStream.readFloat();
IVendorScan peakMaximum = new VendorScan();
peakMaximum.setRetentionTime(retentionTime);
peakMaximum.adjustTotalSignal(totalSignalScan);
peakMaximum.addScanSignal(new ScanSignalWSD(0, totalSignalScan));
peakMaximum.setRelativeRetentionTime(relativeRetentionTime);
int retentionTimeColumn1 = dataInputStream.readInt();
int retentionTimeColumn2 = dataInputStream.readInt();
Expand Down

0 comments on commit db0629a

Please sign in to comment.