We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a94158b commit 8baba45Copy full SHA for 8baba45
nipype/algorithms/mesh.py
@@ -62,7 +62,8 @@ def __init__(self, **inputs):
62
63
try:
64
from tvtk.tvtk_classes.vtk_version import vtk_build_version
65
- self._vtk_version = tuple([int(v) for v in vtk_build_version.split('.')])
+ vsplits = vtk_build_version.split('.')
66
+ self._vtk_version = tuple([int(vsplits[0]), int(vsplits[1])] + vsplits[2:])
67
except ImportError:
68
iflogger.warning(
69
'VTK version-major inspection using tvtk failed, assuming VTK == 4.0.')
0 commit comments