From 4bee4b1703b73dcc32ea2a37eee03c10b5a4c129 Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Tue, 19 Sep 2023 09:52:36 +0000 Subject: [PATCH] [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci --- src/spikeinterface/core/node_pipeline.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/spikeinterface/core/node_pipeline.py b/src/spikeinterface/core/node_pipeline.py index 08f4ce3e9e..1ba7c59c82 100644 --- a/src/spikeinterface/core/node_pipeline.py +++ b/src/spikeinterface/core/node_pipeline.py @@ -507,13 +507,13 @@ def _compute_peak_pipeline_chunk(segment_index, start_frame, end_frame, worker_c if nodes[0].has_peaks(start_frame, end_frame, segment_index): traces_chunk, left_margin, right_margin = get_chunk_with_margin( recording_segment, start_frame, end_frame, None, max_margin, add_zeros=True - ) + ) else: traces_chunk, left_margin, right_margin = None, None, None else: traces_chunk, left_margin, right_margin = get_chunk_with_margin( - recording_segment, start_frame, end_frame, None, max_margin, add_zeros=True - ) + recording_segment, start_frame, end_frame, None, max_margin, add_zeros=True + ) # compute the graph pipeline_outputs = {}