- edited description
HDF5 crashes if dataset name not started with "/"
Issue #486
resolved
Error is thrown when attempting to store numpy double array to hdf file object.
from dolfin import *
import numpy as np
mesh = UnitSquareMesh(20,20)
hdf = HDF5File(mesh.mpi_comm(), "a.h5", "w")
z = np.array([1.],dtype=np.double)
hdf.write(z,"att1")
hdf.write(z,"/att1")
Comments (6)
-
reporter -
Need to check all dataset paths begin with "/" This will work:
from dolfin import * import numpy as np mesh = UnitSquareMesh(20,20) hdf = HDF5File(mesh.mpi_comm(), "a.h5", "w") z = np.array([1.],dtype=np.double) hdf.write(z,"/att1")
-
- changed title to HDF5 crashes if dataset name not started with "/"
-
fix in next
-
- changed status to resolved
Merged into next
-
- removed milestone
Removing milestone: 1.6 (automated comment)
- Log in to comment