Skip to content

Troubleshooting “Session” function when extracting recorded data #674

@AnnaB27

Description

@AnnaB27

Hello,
My colleagues and I have been recording with OE version 0.67 with linear Plexon V-probes. To extract continuous data (we are using openephys format) and ttl events info, I have been using the matlab toolbox as suggested, but I have some issues with the “Session” function that should load the stored information.
Let me give you some context: we are recording an experiment controlled by Monkeylogic, splitting the total number of trials into 10 different “runs” with smaller number of trials each, and I want to save every run as a different folder on OE. So I usually click first on the “Play Button” and then the “record button”; once the first Run is done, I stop only the “record button”, then I change the name of the folder as “Run2” and I go again with the recording button while the Play button stays always on. This usually work just fine. However, today I stopped the record button, changed the folder name but then I mistakenly stopped also the “play button”, I restarted it and then I started the record button to start the new “run”. In this case when I try to use the “Session” function to extract the info from that particular Run, e.g RUN_5, it correctly founds the recording format but then it gives me an error saying
“error using table
All table variables must have the same number of row
Error in Dataframe. Self.data=table(varargin{:})
Error in OpenephysRecordings/loadEvents —- self.ttlEvents(streamNames{i})= Dataframe(line+1, sample numbers,timestamps,processorId,state,…”
Strange thing is also that even though my mistake was done on RUN-5, the above error also appears if I try to load the previous RUN-4

I am sorry for the long explanation, I hope I was clear enough to make you understand the issue.
Can you help me understand how this work? And why this is happening?

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