Skip to content

Fix devide by zero for zero-area peaks

Luca Scotto Lavina requested to merge fix_peak_zero_division into master

Created by: jorana

What is the problem / what does the code in this PR do Dividing by 0 is a bad idea. We did not check if zero area peaks. We should, therefore only compute center-times (division by peak['area']) only for positive area peaks.

Merge request reports

Loading