mannau / h5

Interface to the HDF5 Library
Other
70 stars 22 forks source link

Unable to get the attributes #68

Closed kashif30189 closed 6 years ago

kashif30189 commented 6 years ago

I am reading a h5. I am able to access the dataset in it but I am unable to access the attributes information. I am writing the details for any help main <- h5file("..14670.h5","r") list.attributes(main[list.datasets(main)[1]]

"analog_or_digital" "code" "fullname" "module" "n_in_module"

Now how do I access fullname attribute and assign it to the dataset?

kashif30189 commented 6 years ago

Sorry guys, finally was able to extract it with h5attr function. Somehow I was unable to do so earlier. Sorry for the inconvenience caused.