Skip to content

Cannot read .smrx #1242

Open
Open
@sykesva

Description

@sykesva

I'm trying to open a .smrx file (~380 MB) with CedIO, however, it only finds that there are 1 block and 1 segment. When I'm trying to read those there are no data (empty lists of analogsignals, spiketrains etc.) and even no metadats except the file path.

I'm trying to do it the way I've been doing for years:
import neo
reader = neo.io.CedIO(filename)
data = reader.read(lazy=True)[0].segments[0] # also tried False

I'm not sure if I can share the file publicly so let me know if you need it, and I'll share it privately somehow.

So, there are obviously data considering the file size, and it's not read for some reason. Can it be due to the absence of .pos and .ent file? I read in the docs that there are such arguments in CedIO initialization.

I also tried to open the file using Spike2IO just in case, and it unsurprisingly resulted in the KeyError for channel names or types (expected since there is such an issue thread previously created).

Environment:

  • OS: Windows 10
  • Python 3.8.5
  • Neo 0.11.0 and 0.12.0 (tried both, none worked)
  • NumPy 1.21.6

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions