Closed swelborn closed 2 years ago
@samwelborn can you share the fake_dxf_data.h5 somewhere?
You can make the fake_dxf_data.h5 by running the first commands, i.e.:
import dxchange.writer
import numpy as np
a = np.random.rand(100,100,100)
dxchange.writer.write_dxf(a, r"C:\Users\samwe\Desktop\fake_dxf_data.h5") # change this to your folder
You can also use write_hdf5 with the same result.
@samwelborn thanks for catching this. Indeed it fails on /implements as it returns (). Your change solved the issue
The new dxchange.reader.read_hdf_meta method fails when you write a generic hdf or dxf using dxchange. This PR fixes this, but I'm not sure this is the behavior you want.
Code to reproduce:
Produces the following error: