I am trying to work with a .h5 file created externally. The file should be sound and I can load it in e.g. Matlab. But when I try loading it in scalismo (either through the GUI or using code) I get an error message.
Using the GUI it says: "ERROR: Expected H5ScalarDS when reading attrbiute"
When trying with code, the error says "java.lang.Exception: Expected H5ScalarDS when reading attribute
at scalismo.io.HDF5File.readStringAttribute(HDF5Utils.scala:62)
at scalismo.io.StatismoIO$$anonfun$5.apply(StatismoIO.scala:118)
at scalismo.io.StatismoIO$$anonfun$5.apply(StatismoIO.scala:116)
at scala.util.Success.flatMap(Try.scala:231)
at scalismo.io.StatismoIO$.readStatismoMeshModel(StatismoIO.scala:116)
... 30 elided"
What can I do to solve this?