> I'm currently using h5py to read data from Matlab files. Everything
> works well except for the HDF5 object reference types. For the
> printout below, I'm trying to access the first string from a cell
> array of strings. But I can't figure out how to make use of the HDF5
> object reference. Am I missing something?
Hmmm... you seem to have got hold of a numpy.object_, whatever that
is, rather than the reference object. This could be a corner case of
how the slicing works. What happens if you try:
r2 = r[()]
output = data[r2]
Andrew