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 Jan 14, 2025
1 parent 827fb4d commit 56064df
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion src/spikeinterface/sortingcomponents/tools.py
Original file line number Diff line number Diff line change
Expand Up @@ -313,7 +313,6 @@ def get_shuffled_recording_slices(recording, seed=None, **job_kwargs):
chunks = divide_segment_into_chunks(num_frames, chunk_size)
recording_slices.extend([(segment_index, frame_start, frame_stop) for frame_start, frame_stop in chunks])


rng = np.random.default_rng(seed)
recording_slices = rng.permutation(recording_slices)

Expand Down

0 comments on commit 56064df

Please sign in to comment.