Skip to content

GUI recordings taken with GUI v0.6.1 cannot be read with open ephys python tools #15

@lillysanchez

Description

@lillysanchez

I made a recording with OpenEphys GUI v0.6.1, but I can't read the recording with the current master of the open ephys python tools. The issue is that there is no continuous or event data being read. This is despite the presence of this data in the folder structure.

The error trace is:

Traceback (most recent call last):
  File "/Users/lillyothevalley/lfp-code/load_oephys_data.py", line 44, in <module>
    lfp = session.recordnodes[0].recordings[0].continuous[0].samples
  File "/opt/anaconda3/lib/python3.8/site-packages/open_ephys/analysis/recording.py", line 64, in continuous
    self.load_continuous()
  File "/opt/anaconda3/lib/python3.8/site-packages/open_ephys/analysis/formats/BinaryRecording.py", line 85, in load_continuous
    c = self.Continuous(info, self.directory)
  File "/opt/anaconda3/lib/python3.8/site-packages/open_ephys/analysis/formats/BinaryRecording.py", line 59, in __init__
    self.metadata['subprocessor_id'] = info['source_processor_sub_idx']
KeyError: 'source_processor_sub_idx'

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions