From 217c787d8ad6a7a2ad1c2a9b21e832c648bcab4f Mon Sep 17 00:00:00 2001 From: "W. Trevor King" Date: Wed, 19 May 2010 04:39:32 -0400 Subject: [PATCH] Removed trailing comma that turned 'median' into a tuple --- hooke/plugin/flatfilt.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hooke/plugin/flatfilt.py b/hooke/plugin/flatfilt.py index a1d5e83..f1e427e 100644 --- a/hooke/plugin/flatfilt.py +++ b/hooke/plugin/flatfilt.py @@ -125,7 +125,7 @@ Number of points to use in the initial rolling median filter. start_index = 0 while z_data[start_index] < params['blind window']: start_index += 1 - median = medfilt(d_data[start_index:], params['median window']), + median = medfilt(d_data[start_index:], params['median window']) deriv = diff(median) peaks = find_peaks(deriv, **_kwargs(params, find_peaks_arguments, argument_input_keys=True)) -- 2.26.2