Skip to content

Commit 587b47a

Browse files
committed
FIX: Key [circle full] [skip azp] [skip github]
1 parent c7b38a1 commit 587b47a

File tree

2 files changed

+7
-2
lines changed

2 files changed

+7
-2
lines changed

.circleci/config.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -262,7 +262,7 @@ jobs:
262262
key: data-cache-7
263263
paths:
264264
- ~/mne_data/MNE-spm-face
265-
- ~/mne_data/MNE-testing-ata
265+
- ~/mne_data/MNE-testing-data
266266
- save_cache:
267267
key: data-cache-8
268268
paths:

mne/utils/config.py

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -563,7 +563,12 @@ def sys_info(fid=None, show_paths=False):
563563
elif mod_name in ('mayavi', 'vtk'):
564564
has_3d = True
565565
if mod_name == 'vtk':
566-
version = getattr(mod, 'VTK_VERSION', 'VTK_VERSION missing')
566+
version = mod.vtkVersion()
567+
# 9.0 dev has VersionFull but 9.0 doesn't
568+
for attr in ('GetVTKVersionFull', 'GetVTKVersion'):
569+
if hasattr(version, attr):
570+
version = getattr(version, attr)()
571+
break
567572
elif mod_name == 'PyQt5':
568573
version = _check_pyqt5_version()
569574
else:

0 commit comments

Comments
 (0)