From b982381a9cb4441f4a4b75ae53e2ce0fb2d16ece Mon Sep 17 00:00:00 2001 From: Christopher Langfield Date: Thu, 18 Apr 2024 16:11:37 -0700 Subject: [PATCH] flake8 --- src/ibldsp/waveform_extraction.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/ibldsp/waveform_extraction.py b/src/ibldsp/waveform_extraction.py index 89ac725..c026dd9 100644 --- a/src/ibldsp/waveform_extraction.py +++ b/src/ibldsp/waveform_extraction.py @@ -126,7 +126,7 @@ def _make_wfs_table( # exclude spikes without a buffer on either end # of recording allowed_idx = (spike_samples > trough_offset) & ( - spike_samples < sr.ns - (spike_length_samples - trough_offset) + spike_samples < sr.ns - (spike_length_samples - trough_offset) ) rng = np.random.default_rng(seed=2024) # numpy 1.23.5