Skip to content

Commit 4b71f45

Browse files
authored
Merge pull request #1504 from NeuralEnsemble/black-formatting
Black formatting
2 parents f01d8cc + d4cb371 commit 4b71f45

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

neo/rawio/intanrawio.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -487,7 +487,7 @@ def _get_analogsignal_chunk_one_file_per_signal(self, i_start, i_stop, stream_in
487487

488488
def _demultiplex_digital_data(self, raw_digital_data, channel_ids, i_start, i_stop):
489489

490-
dtype = np.uint16 # We fix this to match the memmap dtype
490+
dtype = np.uint16 # We fix this to match the memmap dtype
491491
output = np.zeros((i_stop - i_start, len(channel_ids)), dtype=dtype)
492492

493493
for channel_index, channel_id in enumerate(channel_ids):
@@ -824,12 +824,12 @@ def read_rhs(filename, file_format: str):
824824
chan_info["sampling_rate"] = sr
825825
# arbitrary units are used to indicate that Intan does not
826826
# store raw voltages but only the boolean TTL state
827-
chan_info["units"] = "a.u."
827+
chan_info["units"] = "a.u."
828828
chan_info["gain"] = 1.0
829829
chan_info["offset"] = 0.0
830830
chan_info["dtype"] = "uint16"
831831
ordered_channel_info.append(chan_info)
832-
832+
833833
# Note that all the channels are packed in one buffer, so the data type only needs to be added once
834834
if len(stream_id_to_channel_info_list[stream_id]) > 0:
835835
if file_format == "header-attached":
@@ -1102,7 +1102,7 @@ def read_rhd(filename, file_format: str):
11021102
chan_info["sampling_rate"] = sr
11031103
# arbitrary units are used to indicate that Intan does not
11041104
# store raw voltages but only the boolean TTL state
1105-
chan_info["units"] = "a.u."
1105+
chan_info["units"] = "a.u."
11061106
chan_info["gain"] = 1.0
11071107
chan_info["offset"] = 0.0
11081108
chan_info["dtype"] = "uint16"

0 commit comments

Comments
 (0)