Skip to content

Commit 86c821a

Browse files
authored
Merge branch 'main' into improve_time_series_chuking_refactor
2 parents 9cdff80 + 34c83f7 commit 86c821a

3 files changed

Lines changed: 6 additions & 6 deletions

File tree

src/spikeinterface/extractors/tests/test_iblextractors.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -68,11 +68,11 @@ def test_channel_ids(self):
6868

6969
def test_gains(self):
7070
expected_gains = 2.34375 * np.ones(shape=384)
71-
assert_array_equal(x=self.recording.get_channel_gains(), y=expected_gains)
71+
assert_array_equal(self.recording.get_channel_gains(), expected_gains)
7272

7373
def test_offsets(self):
7474
expected_offsets = np.zeros(shape=384)
75-
assert_array_equal(x=self.recording.get_channel_offsets(), y=expected_offsets)
75+
assert_array_equal(self.recording.get_channel_offsets(), expected_offsets)
7676

7777
def test_probe_representation(self):
7878
probe = self.recording.get_probe()
@@ -142,11 +142,11 @@ def test_channel_ids(self):
142142

143143
def test_gains(self):
144144
expected_gains = np.concatenate([2.34375 * np.ones(shape=384), [1171.875]])
145-
assert_array_equal(x=self.recording.get_channel_gains(), y=expected_gains)
145+
assert_array_equal(self.recording.get_channel_gains(), expected_gains)
146146

147147
def test_offsets(self):
148148
expected_offsets = np.zeros(shape=385)
149-
assert_array_equal(x=self.recording.get_channel_offsets(), y=expected_offsets)
149+
assert_array_equal(self.recording.get_channel_offsets(), expected_offsets)
150150

151151
def test_probe_representation(self):
152152
expected_exception = ValueError

src/spikeinterface/postprocessing/tests/test_principal_component.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -101,7 +101,7 @@ def test_get_projections(self, sparse):
101101

102102
random_spikes_ext = sorting_analyzer.get_extension("random_spikes")
103103
random_spikes_indices = random_spikes_ext.get_data()
104-
unit_ids_num_random_spikes = np.sum(random_spikes_ext.params["max_spikes_per_unit"] for _ in some_unit_ids)
104+
unit_ids_num_random_spikes = sum(random_spikes_ext.params["max_spikes_per_unit"] for _ in some_unit_ids)
105105

106106
# this should be all spikes all channels
107107
some_projections, spike_unit_index = ext.get_some_projections(channel_ids=None, unit_ids=None)

src/spikeinterface/preprocessing/tests/test_filter.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ def test_causal_filter_main_kwargs(self, recording_and_data):
5050

5151
# Then, change all kwargs to ensure they are propagated
5252
# and check the backwards version.
53-
options["band"] = [671]
53+
options["band"] = 671
5454
options["btype"] = "highpass"
5555
options["filter_order"] = 8
5656
options["ftype"] = "bessel"

0 commit comments

Comments
 (0)