Hello!
I tried to read my raw MEG .fif file using the mne.io.read_raw_fif function and the next error apperas:
Traceback (most recent call last):
File "<input>", line 1, in <module>
File "Y:\LevchenkoE\ISC\Experiment3_videos_MEG\MCCA-MEG\venv\lib\site-packages\mne\io\fiff\raw.py", line 453, in read_raw_fif preload=preload, verbose=verbose)
File "<decorator-gen-169>", line 21, in __init__
File "Y:\LevchenkoE\ISC\Experiment3_videos_MEG\MCCA-MEG\venv\lib\site-packages\mne\io\fiff\raw.py", line 117, in __init__ self._preload_data(preload)
File "<decorator-gen-150>", line 21, in _preload_data
File "Y:\LevchenkoE\ISC\Experiment3_videos_MEG\MCCA-MEG\venv\lib\site-packages\mne\io\base.py", line 488, in _preload_data self._data = self._read_segment(data_buffer=data_buffer)
File "<decorator-gen-148>", line 21, in _read_segment
File "Y:\LevchenkoE\ISC\Experiment3_videos_MEG\MCCA-MEG\venv\lib\site-packages\mne\io\base.py", line 387, in _read_segment cals, mult)
File "Y:\LevchenkoE\ISC\Experiment3_videos_MEG\MCCA-MEG\venv\lib\site-packages\mne\io\fiff\raw.py", line 355, in _read_segment_file one.shape = (picksamp, self.info['nchan'])
AttributeError: 'NoneType' object has no attribute 'shape'
I tried to read the same file with BrainStrom and it is reading successfully, but without events. At the same time if I open the raw file without preload=True parameter I can see the events:
[{'channels': array([309]),
'list': array([358353, 0, 1, 358358,
1, 0, 388651, 0,
2, 388657, 2, 0])}]
For me this is very strange because I can read other files of the same subject. The parameters of recording were exactly the same. The record is splitted to several files just because our MEG system cannot record more than 2Gb in one file and that is why, during the break, we need to push stop (and save the file) and start recording to a new file, but the acquistion parameters weren't changed at all.
I have attached the link to files: one readable (good) and one with an error (bad).
I am using:
mne '0.20.0'
python '3.7.3'
Do you have any ideas?
Hello!
I tried to read my raw MEG .fif file using the
mne.io.read_raw_fiffunction and the next error apperas:I tried to read the same file with BrainStrom and it is reading successfully, but without events. At the same time if I open the raw file without
preload=Trueparameter I can see the events:For me this is very strange because I can read other files of the same subject. The parameters of recording were exactly the same. The record is splitted to several files just because our MEG system cannot record more than 2Gb in one file and that is why, during the break, we need to push stop (and save the file) and start recording to a new file, but the acquistion parameters weren't changed at all.
I have attached the link to files: one readable (good) and one with an error (bad).
I am using:
mne '0.20.0'
python '3.7.3'
Do you have any ideas?