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 18, 2024
1 parent b63221e commit 0781a39
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/spikeinterface/core/job_tools.py
Original file line number Diff line number Diff line change
Expand Up @@ -137,7 +137,7 @@ def divide_segment_into_chunks(num_frames, chunk_size):
n = num_frames // chunk_size

frame_starts = [i * chunk_size for i in range(n)]
frame_stops = [(i+1) * chunk_size for i in range(n)]
frame_stops = [(i + 1) * chunk_size for i in range(n)]

if (num_frames % chunk_size) > 0:
frame_starts.append(n * chunk_size)
Expand Down

0 comments on commit 0781a39

Please sign in to comment.