Skip to content

Commit 4283378

Browse files
committed
fix the header display info
1 parent 288b69b commit 4283378

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

neo/rawio/intanrawio.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -174,8 +174,8 @@ def _parse_header(self):
174174
for c, chan_info in enumerate(self._ordered_channels):
175175
name = chan_info["custom_channel_name"]
176176
channel_id = chan_info["native_channel_name"]
177-
if chan_info["signal_type"] == 20:
178-
# exception for temperature
177+
if chan_info["signal_type"] == 20 or (self.file_format != "header-attached" and chan_info["signal_type"] == 0):
178+
# exception for temperature and for amplifier in non-header attached files
179179
sig_dtype = "int16"
180180
else:
181181
sig_dtype = "uint16"

0 commit comments

Comments
 (0)