Skip to content

Commit d9e028c

Browse files
committed
update neo_rarwio datatypes
1 parent be29033 commit d9e028c

File tree

1 file changed

+24
-3
lines changed

1 file changed

+24
-3
lines changed

src/trodes_to_nwb/spike_gadgets_raw_io.py

Lines changed: 24 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -201,7 +201,13 @@ def _parse_header(self):
201201
if stream_id not in stream_ids:
202202
stream_ids.append(stream_id)
203203
stream_name = stream_id
204-
signal_streams.append((stream_name, stream_id))
204+
signal_streams.append(
205+
(
206+
stream_name,
207+
stream_id,
208+
"",
209+
)
210+
)
205211
self._mask_channels_ids[stream_id] = []
206212
self._mask_channels_bytes[stream_id] = []
207213
self._mask_channels_bits[stream_id] = []
@@ -223,6 +229,7 @@ def _parse_header(self):
223229
gain,
224230
offset,
225231
stream_id,
232+
"",
226233
)
227234
)
228235

@@ -242,7 +249,13 @@ def _parse_header(self):
242249
if stream_id not in stream_ids:
243250
stream_ids.append(stream_id)
244251
stream_name = stream_id
245-
signal_streams.append((stream_name, stream_id))
252+
signal_streams.append(
253+
(
254+
stream_name,
255+
stream_id,
256+
"",
257+
)
258+
)
246259
self._mask_channels_ids[stream_id] = []
247260
self._mask_channels_bytes[stream_id] = []
248261
self._mask_channels_bits[stream_id] = []
@@ -265,6 +278,7 @@ def _parse_header(self):
265278
gain,
266279
offset,
267280
stream_id,
281+
"",
268282
)
269283
)
270284

@@ -290,7 +304,13 @@ def _parse_header(self):
290304
if num_ephy_channels > 0:
291305
stream_id = "trodes"
292306
stream_name = stream_id
293-
signal_streams.append((stream_name, stream_id))
307+
signal_streams.append(
308+
(
309+
stream_name,
310+
stream_id,
311+
"",
312+
)
313+
)
294314
self._mask_channels_bytes[stream_id] = []
295315

296316
channel_ids = self._produce_ephys_channel_ids(
@@ -317,6 +337,7 @@ def _parse_header(self):
317337
gain,
318338
offset,
319339
stream_id,
340+
"",
320341
)
321342
)
322343

0 commit comments

Comments
 (0)