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 Dec 27, 2023
1 parent 1863308 commit 679ce32
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions src/spikeinterface/preprocessing/silence_periods.py
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,6 @@ class SilencedPeriodsRecording(BasePreprocessor):
name = "silence_periods"

def __init__(self, recording, list_periods, mode="zeros", **random_chunk_kwargs):

available_modes = ("zeros", "noise")
num_seg = recording.get_num_segments()

Expand Down Expand Up @@ -79,9 +78,7 @@ def __init__(self, recording, list_periods, mode="zeros", **random_chunk_kwargs)
rec_segment = SilencedPeriodsRecordingSegment(parent_segment, periods, mode, noise_levels)
self.add_recording_segment(rec_segment)

self._kwargs = dict(
recording=recording, list_periods=list_periods, mode=mode, noise_levels=noise_levels
)
self._kwargs = dict(recording=recording, list_periods=list_periods, mode=mode, noise_levels=noise_levels)


class SilencedPeriodsRecordingSegment(BasePreprocessorSegment):
Expand Down

0 comments on commit 679ce32

Please sign in to comment.