HDFGroup / HDFGroup/hsds

Error on array broadcasting

Open
#131 2 comments 0 reactions 1 assignee Claimed by @mattjala View on GitHub
bug
Dominant language
Python
Stars
157
Forks
60
Avg merge
1d 5h
Merged PRs (30d)
15

Description

This code:
```python
import h5pyd

with h5pyd.File('hdf5://home/userme/foo.h5', mode='w') as f:
x = f.create_dataset('x', shape=(2, 3), dtype='i4')
x[...] = [[1, 2, 3]]
```
Produces error: `OSError: Expected: 24 bytes, but got: 12`. The correct outcome should be for `x` to store an `[[1, 2, 3][1, 2, 3]]` array.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.