# Used mne.io.read\_epochs\_eeglab() load data

**URL:** <https://mne.discourse.group/t/used-mne-io-read-epochs-eeglab-load-data/5439>\
**Category:** Support & Discussions\
**Created:** [August 21, 2022, 9:04am UTC](https://mne.discourse.group/t/used-mne-io-read-epochs-eeglab-load-data/5439 "2022-08-21T09:04:39Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![liu](https://avatars.discourse-cdn.com/v4/letter/l/a88e57/32.png) [@liu](https://mne.discourse.group/u/liu)\
**Post date:** [August 21, 2022, 9:04am UTC](https://mne.discourse.group/t/used-mne-io-read-epochs-eeglab-load-data/5439/1 "2022-08-21T09:04:40Z")

</div>

Hey:  
I have used eeglab did preprcoess and conducted re-reference using TP9 and TP10, the data was colleceted by Brain Version product. While, when i used the mne.io.read\_epochs\_eeglab() to load the preprocessed data, it was failed.  
The error message is :  
发生异常: KeyError (note: full exception trace is shown but execution is paused at: \_run\_module\_as\_main)  
‘description’  
File “D:\anaconda\envs\mne\Lib\site-packages\mne\io\eeglab\eeglab.py”, line 154, in \_get\_montage\_information  
elif d[‘description’] == ‘Nasion’:  
File “D:\anaconda\envs\mne\Lib\site-packages\mne\io\eeglab\eeglab.py”, line 185, in \_get\_info  
\_get\_montage\_information(eeg, has\_pos)  
File “D:\anaconda\envs\mne\Lib\site-packages\mne\io\eeglab\eeglab.py”, line 555, in **init**  
info, eeg\_montage, \_ = \_get\_info(eeg, eog=eog)  
File “”, line 12, in **init**  
File “D:\anaconda\envs\mne\Lib\site-packages\mne\io\eeglab\eeglab.py”, line 318, in read\_epochs\_eeglab  
epochs = EpochsEEGLAB(input\_fname=input\_fname, events=events, eog=eog,  
File “H:\eeg-analysis\preprocess\_eeg”, line 21, in   
data = mne.io.read\_epochs\_eeglab(filename)  
File “D:\anaconda\envs\mne\Lib\runpy.py”, line 86, in \_run\_code  
exec(code, run\_globals)  
File “D:\anaconda\envs\mne\Lib\runpy.py”, line 196, in \_run\_module\_as\_main (Current frame)  
return \_run\_code(code, main\_globals, None,  
thanks for your help  
Liu

---

<div class="post-metadata">

**Author:** ![agramfort](https://avatars.discourse-cdn.com/v4/letter/a/7c8e57/32.png) [@agramfort](https://mne.discourse.group/u/agramfort)\
**Post date:** [August 21, 2022, 6:46pm UTC](https://mne.discourse.group/t/used-mne-io-read-epochs-eeglab-load-data/5439/2 "2022-08-21T18:46:59Z")

</div>

hi Liu,

yes we have broke something with eeglab files with this release.

You can use the older mne version before we push a new release.

you can follow this issue [https://github.com/mne-tools/mne-python/issues/11039](https://github.com/mne-tools/mne-python/issues/11039)

Alex

---

<div class="post-metadata">

**Author:** ![liu](https://avatars.discourse-cdn.com/v4/letter/l/a88e57/32.png) [@liu](https://mne.discourse.group/u/liu)\
**Post date:** [August 22, 2022, 7:00am UTC](https://mne.discourse.group/t/used-mne-io-read-epochs-eeglab-load-data/5439/3 "2022-08-22T07:00:31Z")

</div>

Thanks so much, Alex! There was no error when i used the mne v1.0.0.

---

<div class="post-metadata">

**Author:** ![agramfort](https://avatars.discourse-cdn.com/v4/letter/a/7c8e57/32.png) [@agramfort](https://mne.discourse.group/u/agramfort)\
**Post date:** [August 27, 2022, 10:23am UTC](https://mne.discourse.group/t/used-mne-io-read-epochs-eeglab-load-data/5439/4 "2022-08-27T10:23:06Z")

</div>

this has been fixed in MNE 1.1.1 at [mne · PyPI](https://pypi.org/project/mne/)

Alex
