avoid warning due to change in default parameter
This commit is contained in:
parent
19e88df571
commit
70b73762ed
python/damask
|
@ -880,7 +880,7 @@ class DADF5():
|
||||||
else:
|
else:
|
||||||
|
|
||||||
nodes = vtk.vtkPoints()
|
nodes = vtk.vtkPoints()
|
||||||
with h5py.File(self.fname) as f:
|
with h5py.File(self.fname,'r') as f:
|
||||||
nodes.SetData(numpy_support.numpy_to_vtk(f['/geometry/x_n'][()],deep=True))
|
nodes.SetData(numpy_support.numpy_to_vtk(f['/geometry/x_n'][()],deep=True))
|
||||||
|
|
||||||
vtk_geom = vtk.vtkUnstructuredGrid()
|
vtk_geom = vtk.vtkUnstructuredGrid()
|
||||||
|
|
Loading…
Reference in New Issue