European-XFEL / h5glance

Explore HDF5 files in terminal & HTML views
BSD 3-Clause "New" or "Revised" License
68 stars 8 forks source link

Don't crash when unable to read attributes #13

Closed takluyver closed 5 years ago

takluyver commented 5 years ago

Attributes which h5py can't convert to Python objects are now displayed like this:

CLASS: <Unable to read attribute>

Many of these are fixed-length string attributes which will become readable with h5py 2.10, but there are others (e.g. bitfields) which will still not be visible.

fangohr commented 5 years ago

Thank you - LGTM.