Closed bendichter closed 4 years ago
lazy_transpose() returns a DatasetView. So if replaced with dsetview.lazy_slice[slice_list[1]].lazy_transpose()[:] to read the data it works.
Thanks for the clarification. I would like a Datasetview
object to test correctly against an h5py.Dataset
. I'm looking into why this isn't working
In 31aa2f4808623cd680c4e845851b309eca8d0f02, read_direct
method is implemented to work correctly with lazy operations. In turn it allows Dataset.__array__
to work correctly, which leads to numpy's assert_array_equal working
without having to explicitly convert a DatasetView
to numpy.
Why doesn't this work?
Am I making a mistake or should these be equal?