sKinreich
(S Kinreich)
February 28, 2021, 3:51pm
1
MNE version 0.22
I’m getting the following error reading the file with
raw = mne.io.read_raw_cnt(filename, preload=True)
RuntimeWarning: Could not define the number of bytes automatically. Defaulting to 2.
Do you know what does that mean ?
Thanks !!
agramfort
(Alexandre Gramfort)
February 28, 2021, 4:15pm
2
it’s not an error but a warning.
does your data long wrong?
Alex
sKinreich
(S Kinreich)
March 1, 2021, 2:47pm
3
Everything seems right and the file did upload. It just presents this runtime error which I want to be sure
To not obscure the data.
I might run some tests to see that the uploaded file is the same as the cnt file (upload the file to eeglab and compare).
Do you have any other suggestions ?
Thanks for any idea.
Sivan
richard
(Richard Höchenberger)
March 1, 2021, 8:38pm
5
Hello, typically if something goes wrong during data import, it is very obvious. If you plot the data using raw.plot()
and it seems to look normal, it most likely is , and you can stop worrying.
sKinreich
(S Kinreich)
March 1, 2021, 8:51pm
6
Thank you !!! The data seems correct after loading.
1 Like