Closed danielpeter closed 3 years ago
Hi Daniel,
sorry for my late reply on this.
Which version of pyasdf are you running? Because I think these issues should have been fixed quite some time ago and I also cannot find the offending lines in the current code base. I also just ran the test suite with h5py 3.2.1 and it seems to work for me.
great, sorry my bad...
i see it was a very old pyasdf version 0.4.0, still in use on my mac. updating it to the current version 0.7.5 fixes it.
many thanks, daniel
it looks like newer versions of h5py don't support the Dataset.value property anymore: https://docs.h5py.org/en/stable/whatsnew/2.1.html
this will break pyasdf when listing events: in asdf_data_set.py
and in utils.py
a workaround would be to use numpy indexing
data[()]
instead ofdata.value
:and
seems to work. not sure if more occurrences of data.value can be found though.
fixing the above two locations allows at least to print file infos again: