From 80c6faf5d19c3caee2d496c1b518ff6a79f2a2aa Mon Sep 17 00:00:00 2001 From: "W. Trevor King" Date: Wed, 19 May 2010 03:58:47 -0400 Subject: [PATCH] hooke.util.peak.find_peaks should *not* die on noise nonconvergence --- hooke/util/peak.py | 2 -- 1 file changed, 2 deletions(-) diff --git a/hooke/util/peak.py b/hooke/util/peak.py index 1c4e86d..32ec79f 100644 --- a/hooke/util/peak.py +++ b/hooke/util/peak.py @@ -504,8 +504,6 @@ def find_peaks(data, **kwargs): The input parameters may be any accepted by the above functions. """ mask,mean,std,converged = noise(data, **_kwargs(kwargs, noise_arguments)) - if converged == False: - raise ValueError(kwargs) mask = above_noise(data, **_kwargs(kwargs, above_noise_arguments)) peaks = mask_to_peaks(data, mask) peaks = merge_double_peaks( -- 2.26.2