Skip to content

Commit

Permalink
[pre-commit.ci] auto fixes from pre-commit.com hooks
Browse files Browse the repository at this point in the history
for more information, see https://pre-commit.ci
  • Loading branch information
pre-commit-ci[bot] committed Sep 19, 2023
1 parent c7aef09 commit 4bee4b1
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/spikeinterface/core/node_pipeline.py
Original file line number Diff line number Diff line change
Expand Up @@ -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 = {}
Expand Down

0 comments on commit 4bee4b1

Please sign in to comment.