Python attrs and _v_attrs in HDF5Cpp?


#1

Hi, I have a colleague who outputs data to hdf5 using pytables. I’m using the hdf5cpp lib and writing data.

When he wants to access or display attributes he calls something like this in pytables:

h5.root.Study.Entity.attrs

However with my h5 file generated using hdf5cpp he has to do

h5.root.Study.Entity._v_attrs

as attrs isn’t recognised. I assume attrs it is an name for all attributes. Is there a way that I can setup my 5 file so he can call attrs instead of _v_attrs?

Thanks in advance…
Paul