avoid warning due to change in default parameter
This commit is contained in:
parent
19e88df571
commit
70b73762ed
|
@ -880,7 +880,7 @@ class DADF5():
|
|||
else:
|
||||
|
||||
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))
|
||||
|
||||
vtk_geom = vtk.vtkUnstructuredGrid()
|
||||
|
|
Loading…
Reference in New Issue