From: W. Trevor King Date: Wed, 19 May 2010 08:39:32 +0000 (-0400) Subject: Removed trailing comma that turned 'median' into a tuple X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=217c787d8ad6a7a2ad1c2a9b21e832c648bcab4f;p=hooke.git Removed trailing comma that turned 'median' into a tuple --- 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))