Closed alan113696 closed 11 months ago
Thanks for reporting this. Yes, expandChunks needs to return a tuple, Actually, expandChunks should only be used with hsload, not hsget. I've checked in a fix with the tuple(chunk_shape) and a check to not use expandChunks when the target is an h5 file. New version 0.15.1 is out on PyPI.
0.15.1 works great! Thanks for quickly pushing out the fix.
When running hsget using h5pyd 0.15.0, I see the following error message:
This only occurs on 1D chunk sizes. I poked around the code, and it looks like expandChunk is the culprit. I changed the following line https://github.com/HDFGroup/h5pyd/blob/master/h5pyd/_apps/utillib.py#L932 to read
return tuple(chunk_shape)
as a work-around.