Skip to content

Commit

Permalink
update neo_rarwio datatypes
Browse files Browse the repository at this point in the history
  • Loading branch information
samuelbray32 committed Oct 23, 2024
1 parent be29033 commit d9e028c
Showing 1 changed file with 24 additions and 3 deletions.
27 changes: 24 additions & 3 deletions src/trodes_to_nwb/spike_gadgets_raw_io.py
Original file line number Diff line number Diff line change
Expand Up @@ -201,7 +201,13 @@ def _parse_header(self):
if stream_id not in stream_ids:
stream_ids.append(stream_id)
stream_name = stream_id
signal_streams.append((stream_name, stream_id))
signal_streams.append(
(
stream_name,
stream_id,
"",
)
)
self._mask_channels_ids[stream_id] = []
self._mask_channels_bytes[stream_id] = []
self._mask_channels_bits[stream_id] = []
Expand All @@ -223,6 +229,7 @@ def _parse_header(self):
gain,
offset,
stream_id,
"",
)
)

Expand All @@ -242,7 +249,13 @@ def _parse_header(self):
if stream_id not in stream_ids:
stream_ids.append(stream_id)
stream_name = stream_id
signal_streams.append((stream_name, stream_id))
signal_streams.append(
(
stream_name,
stream_id,
"",
)
)
self._mask_channels_ids[stream_id] = []
self._mask_channels_bytes[stream_id] = []
self._mask_channels_bits[stream_id] = []
Expand All @@ -265,6 +278,7 @@ def _parse_header(self):
gain,
offset,
stream_id,
"",
)
)

Expand All @@ -290,7 +304,13 @@ def _parse_header(self):
if num_ephy_channels > 0:
stream_id = "trodes"
stream_name = stream_id
signal_streams.append((stream_name, stream_id))
signal_streams.append(
(
stream_name,
stream_id,
"",
)
)
self._mask_channels_bytes[stream_id] = []

channel_ids = self._produce_ephys_channel_ids(
Expand All @@ -317,6 +337,7 @@ def _parse_header(self):
gain,
offset,
stream_id,
"",
)
)

Expand Down

0 comments on commit d9e028c

Please sign in to comment.