Hi guys!
I recently updated to mne 1.0. After the update, the mne coreg is not working. I am getting this error text:
cmd: mne coreg
output:
Using pyvistaqt 3d backend.
Triangle neighbors and vertex normals...
Using high resolution head model in /media/dip_linux/Transcend/Visual_p3_data/3847/surf/lh.seghead
Traceback (most recent call last):
File "/home/dip_linux/anaconda3/envs/mne/bin/mne", line 8, in <module>
sys.exit(main())
File "/home/dip_linux/anaconda3/envs/mne/lib/python3.10/site-packages/mne/commands/utils.py", line 107, in main
cmd.run()
File "/home/dip_linux/anaconda3/envs/mne/lib/python3.10/site-packages/mne/commands/mne_coreg.py", line 85, in run
mne.gui.coregistration(
File "<decorator-gen-558>", line 12, in coregistration
File "/home/dip_linux/anaconda3/envs/mne/lib/python3.10/site-packages/mne/gui/__init__.py", line 193, in coregistration
return CoregistrationUI(
File "<decorator-gen-570>", line 12, in __init__
File "/home/dip_linux/anaconda3/envs/mne/lib/python3.10/site-packages/mne/gui/_coreg.py", line 238, in __init__
self.coreg = Coregistration(
File "/home/dip_linux/anaconda3/envs/mne/lib/python3.10/site-packages/mne/coreg.py", line 1371, in __init__
self._setup_bem()
File "/home/dip_linux/anaconda3/envs/mne/lib/python3.10/site-packages/mne/coreg.py", line 1426, in _setup_bem
'mesh (%d vertices): %s' % (len(self._bem_high_res.surf.rr),
AttributeError: 'dict' object has no attribute 'surf'
system info:
Platform: Linux-5.13.0-39-generic-x86_64-with-glibc2.31
Python: 3.10.4 | packaged by conda-forge | (main, Mar 24 2022, 17:38:57) [GCC 10.3.0]
Executable: /home/dip_linux/anaconda3/envs/mne/bin/python
CPU: x86_64: 8 cores
Memory: 15.3 GB
mne: 1.0.0
numpy: 1.21.5 {blas=NO_ATLAS_INFO, lapack=lapack}
scipy: 1.8.0
matplotlib: 3.5.1 {backend=QtAgg}
sklearn: 1.0.2
numba: 0.55.1
nibabel: 3.2.2
nilearn: 0.9.0
dipy: 1.5.0
cupy: Not found
pandas: 1.4.2
pyvista: 0.33.3 {OpenGL 3.3 (Core Profile) Mesa 21.2.6 via Mesa Intel(R) UHD Graphics (CML GT2)}
pyvistaqt: 0.8.0
ipyvtklink: 0.2.2
vtk: 9.1.0
PyQt5: 5.12.3
ipympl: 0.8.8
pooch: v1.6.0
mne_bids: Not found
mne_nirs: Not found
mne_features: 0.2
mne_qt_browser: 0.2.6
mne_connectivity: 0.3
any help would be appreciated.
best,
Dip