File tree Expand file tree Collapse file tree 2 files changed +7
-2
lines changed Expand file tree Collapse file tree 2 files changed +7
-2
lines changed Original file line number Diff line number Diff 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 :
Original file line number Diff line number Diff 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 :
You can’t perform that action at this time.
0 commit comments