Skip to content

Commit

Permalink
Merge pull request NeuralEnsemble#1542 from NeuralEnsemble/black-form…
Browse files Browse the repository at this point in the history
…atting

Black formatting
  • Loading branch information
zm711 authored Sep 1, 2024
2 parents f0f4cc6 + c6534db commit cf99680
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion neo/rawio/medrawio.py
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down
2 changes: 1 addition & 1 deletion neo/test/iotest/test_plexonio.py
Original file line number Diff line number Diff line change
Expand Up @@ -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",
]


Expand Down
4 changes: 2 additions & 2 deletions neo/test/rawiotest/rawio_compliance.py
Original file line number Diff line number Diff line change
Expand Up @@ -224,15 +224,15 @@ 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,
seg_index=seg_index,
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)
Expand Down
2 changes: 1 addition & 1 deletion neo/test/rawiotest/test_plexonrawio.py
Original file line number Diff line number Diff line change
Expand Up @@ -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",
]


Expand Down

0 comments on commit cf99680

Please sign in to comment.