Skip to content
Open
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions neo/rawio/spikegadgetsrawio.py
Original file line number Diff line number Diff line change
Expand Up @@ -143,6 +143,8 @@ def _parse_header(self):
# as spikegadgets change we should follow this
try:
num_chan_per_chip = int(sconf.attrib["chanPerChip"])
if num_chan_per_chip <= 0:
raise KeyError
except KeyError:
Comment thread
MGAMZ marked this conversation as resolved.
Comment thread
MGAMZ marked this conversation as resolved.
num_chan_per_chip = 32 # default value for Intan chips

Expand Down
Loading