Skip to content

Commit

Permalink
Fix peak integration not setting the chromatogram dirty.
Browse files Browse the repository at this point in the history
  • Loading branch information
Mailaender committed Jan 21, 2022
1 parent a57279c commit d121cc1
Showing 1 changed file with 3 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -64,6 +64,7 @@ public class PeakIntegrator {
* This class has only static methods.
*/
private PeakIntegrator() {

}

/**
Expand Down Expand Up @@ -143,6 +144,7 @@ public static <T> IProcessingInfo<T> integrate(IChromatogramSelection<?, ?> chro
IPeakIntegrator<T> integrator = getPeakIntegrator(integratorId);
if(integrator != null) {
processingInfo = integrator.integrate(chromatogramSelection, peakIntegrationSettings, monitor);
chromatogramSelection.getChromatogram().setDirty(true);
} else {
processingInfo = getNoIntegratorAvailableProcessingInfo();
}
Expand All @@ -163,6 +165,7 @@ public static <T> IProcessingInfo<T> integrate(IChromatogramSelection<?, ?> chro
IPeakIntegrator<T> integrator = getPeakIntegrator(integratorId);
if(integrator != null) {
processingInfo = integrator.integrate(chromatogramSelection, monitor);
chromatogramSelection.getChromatogram().setDirty(true);
} else {
processingInfo = getNoIntegratorAvailableProcessingInfo();
}
Expand Down

0 comments on commit d121cc1

Please sign in to comment.