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

Issue Running Session #7

Closed
crewl2 opened this issue May 24, 2023 · 1 comment
Closed

Issue Running Session #7

crewl2 opened this issue May 24, 2023 · 1 comment

Comments

@crewl2
Copy link

crewl2 commented May 24, 2023

session = Session(directory)

directory =

'/Volumes/Elements/2021-07-09_10-24-33_Ma_1163_male_placepref'

Searching directory: /Volumes/Elements/2021-07-09_10-24-33_Ma_1163_male_placepref
Found recording format: Binary
Error using readNPYheader
File not found: /Volumes/Elements/2021-07-09_10-24-33_Ma_1163_male_placepref/Record Node
109/experiment1/recording1/continuous/Rhythm_FPGA-100.0/sample_numbers.npy

Error in readNPY (line 9)
[shape, dataType, fortranOrder, littleEndian, totalHeaderLength, ~] = readNPYheader(filename);

Error in BinaryRecording/loadContinuous (line 81)
stream.sampleNumbers = readNPY(fullfile(directory, 'sample_numbers.npy'));

Error in BinaryRecording (line 40)
self = self.loadContinuous();

Error in BinaryRecording.detectRecordings (line 254)
recordings{end+1} = BinaryRecording(recordingDirectories{recIdx}, expIdx, recIdx);

Error in RecordNode/detectRecordings (line 95)
self.recordings = BinaryRecording.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();

session = Session(directory)
Searching directory: /Volumes/Elements/2021-07-09_10-24-33_Ma_1163_male_placepref
Found recording format: OpenEphys
Error using memmapfile/hCreateMap
File "/Volumes/Elements/2021-07-09_10-24-33_Ma_1163_male_placepref/Record Node 103/all_channels.events" is not large enough to map
with the current format, offset, and repeat values.

Error in indexing (line 794)
hCreateMap(obj);

Error in OpenEphysRecording.detectRecordings (line 564)
timestamps = timestamps.Data(1:2:end);

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();

Don't know why I don't have sample_numbers.npy or why all_channels.events is not large enough.

@medengineer
Copy link
Member

This issue now being tracked in #8

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants