From 26fb385b3b6011b93fd9692c2f4ae758c434d8f5 Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Wed, 13 Sep 2023 15:58:26 +0000 Subject: [PATCH] [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci --- .../preprocessing/tests/test_zero_padding.py | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/src/spikeinterface/preprocessing/tests/test_zero_padding.py b/src/spikeinterface/preprocessing/tests/test_zero_padding.py index f42d860334..5c2c00f9ca 100644 --- a/src/spikeinterface/preprocessing/tests/test_zero_padding.py +++ b/src/spikeinterface/preprocessing/tests/test_zero_padding.py @@ -260,7 +260,9 @@ def test_trace_padded_recording_retrieve_traces_with_partial_padding(recording, @pytest.mark.parametrize("preprocessing", ["bandpass_filter", "phase_shift"]) @pytest.mark.parametrize("padding_start, padding_end", [(5000, 5000), (5000, 0), (0, 5000)]) -def test_trace_padded_recording_retrieve_full_recording_with_preprocessing(recording, padding_start, padding_end, preprocessing): +def test_trace_padded_recording_retrieve_full_recording_with_preprocessing( + recording, padding_start, padding_end, preprocessing +): num_samples = recording.get_num_samples() num_channels = recording.get_num_channels() @@ -301,8 +303,5 @@ def test_trace_padded_recording_retrieve_full_recording_with_preprocessing(recor assert np.all(padded_trace == padded_recording.fill_value) - - - if __name__ == "__main__": test_zero_padding_channel()