Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error during Session initialization #13

Open
niksart opened this issue Sep 6, 2023 · 1 comment
Open

Error during Session initialization #13

niksart opened this issue Sep 6, 2023 · 1 comment
Assignees
Labels
bug Something isn't working

Comments

@niksart
Copy link

niksart commented Sep 6, 2023

In some of our recording sessions (3/13), during the instantiation of an object for a session, we get the following error:

Error using table
All table variables must have the same number of rows.

Error in DataFrame (line 51)
                self.data = table(varargin{:});

Error in OpenEphysRecording/loadEvents (line 214)
                self.ttlEvents(streamNames{i}) = DataFrame(line + 1, sampleNumbers, timestamps', processorId, state, ...

Error in OpenEphysRecording (line 62)
            self = self.loadEvents();

Error in OpenEphysRecording.detectRecordings (line 547)
                            recordings{end+1} = OpenEphysRecording(directory, experimentIndex, recordingIndex);

Error in RecordNode/detectRecordings (line 97)
                self.recordings = OpenEphysRecording.detectRecordings(self.directory);

Error in RecordNode (line 71)
            self.detectRecordings();

Error in Session/detectRecordNodes (line 70)
                self.recordNodes{end+1} = RecordNode(paths{i});

Error in Session (line 61)
            self.detectRecordNodes();

Error in **_____MYFUNCTION_____** (line 4)
    session = Session(rootPathSession);

The sessions are in the open ephys format.

If you are willing to check this problem, I can share the data about the events/timestamps. In case, please tell me the files you need.

Thank you very much in advance for your help!

@medengineer
Copy link
Member

If possible, can you send a link to [email protected] to download an entire recording session example as a zip file where this issue occurs?

If this is too big to share, removing all of the *.continuous files in each RecordNode directory and including everything else would be the next best option.

Thanks!

@medengineer medengineer self-assigned this Sep 12, 2023
@medengineer medengineer added the bug Something isn't working label Sep 12, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants