From b81116f62a59e83a386915cbdd0baab4391f86cd Mon Sep 17 00:00:00 2001 From: Martin Diehl Date: Thu, 10 Feb 2022 23:13:37 +0100 Subject: [PATCH] not needed anymore --- python/damask/_grid.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/python/damask/_grid.py b/python/damask/_grid.py index 1bf8ff386..3e5492e56 100644 --- a/python/damask/_grid.py +++ b/python/damask/_grid.py @@ -182,7 +182,7 @@ class Grid: Grid-based geometry from file. """ - v = VTK.load(fname if str(fname).endswith(('.vti','.vtr')) else str(fname)+'.vti') # compatibility hack + v = VTK.load(fname if str(fname).endswith('.vti') else str(fname)+'.vti') comments = v.get_comments() cells = np.array(v.vtk_data.GetDimensions())-1 bbox = np.array(v.vtk_data.GetBounds()).reshape(3,2).T