Skip to content

Spike2IO chan_info problem #777

@threefrenchhens

Description

@threefrenchhens

Apologies in advance - I am new to spike2 and to neo... I have a large number of smr files and would like to write some code to scrape the data all into one place in python.

I am trying to open smr files in python3.7 using neo v0.9.0.dev as follows:

reader = neo.Spike2IO(filename='example1.smr')
reader.read()[0]

but get the following error:

chan_info['type'] = dict_kind[chan_info['kind']]
KeyError: 255

I get this error for all smr files I have tried. Could it be a problem with how channels are defined in my files?

I have uploaded two example smr files

Cheers!
Dave

Metadata

Metadata

Labels

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions