diff --git a/neo/rawio/medrawio.py b/neo/rawio/medrawio.py index 454981dd8..a071a9bc8 100644 --- a/neo/rawio/medrawio.py +++ b/neo/rawio/medrawio.py @@ -240,7 +240,7 @@ def _get_analogsignal_chunk(self, block_index, seg_index, i_start, i_stop, strea self.sess.set_channel_active(self._stream_info[stream_index]["raw_chans"]) num_channels = len(self._stream_info[stream_index]["raw_chans"]) self.sess.set_reference_channel(self._stream_info[stream_index]["raw_chans"][0]) - + # in the case we have a slice or we give an ArrayLike we need to iterate through the channels # in order to activate them. else: diff --git a/neo/test/iotest/test_plexonio.py b/neo/test/iotest/test_plexonio.py index 5fc286671..b23e665c5 100644 --- a/neo/test/iotest/test_plexonio.py +++ b/neo/test/iotest/test_plexonio.py @@ -18,7 +18,7 @@ class TestPlexonIO( "plexon/File_plexon_1.plx", "plexon/File_plexon_2.plx", "plexon/File_plexon_3.plx", - "plexon/4chDemoPLX.plx" + "plexon/4chDemoPLX.plx", ] diff --git a/neo/test/rawiotest/rawio_compliance.py b/neo/test/rawiotest/rawio_compliance.py index e913c5cf5..f1b4e3a3e 100644 --- a/neo/test/rawiotest/rawio_compliance.py +++ b/neo/test/rawiotest/rawio_compliance.py @@ -224,7 +224,7 @@ def read_analogsignals(reader): i_start=i_start, i_stop=i_stop, stream_index=stream_index, - channel_indexes=slice(None) + channel_indexes=slice(None), ) raw_chunk_channel_indexes = reader.get_analogsignal_chunk( block_index=block_index, @@ -232,7 +232,7 @@ def read_analogsignals(reader): i_start=i_start, i_stop=i_stop, stream_index=stream_index, - channel_indexes=channel_indexes + channel_indexes=channel_indexes, ) np.testing.assert_array_equal(raw_chunk_slice_none, raw_chunk_channel_indexes) diff --git a/neo/test/rawiotest/test_plexonrawio.py b/neo/test/rawiotest/test_plexonrawio.py index 06420c8c1..86207e904 100644 --- a/neo/test/rawiotest/test_plexonrawio.py +++ b/neo/test/rawiotest/test_plexonrawio.py @@ -15,7 +15,7 @@ class TestPlexonRawIO( "plexon/File_plexon_1.plx", "plexon/File_plexon_2.plx", "plexon/File_plexon_3.plx", - "plexon/4chDemoPLX.plx" + "plexon/4chDemoPLX.plx", ]