-
Notifications
You must be signed in to change notification settings - Fork 2
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
now reading from that file, dataset dimensions seem to be mismatching #28
Comments
Sorry, you're stumbling over these things probably due to my lack of documentation. While that For that you should either use let data = dset.readAs(<some datatype>) or from the H5 file let dsetName = "somePath/to/a/dset"
let data = h5f.readAs(dsetName, <some datatype>) Note, that Alternatively using the # from the dataset object you might have
let data = dset[<the datatype of the dataset>] The data type is required, since the let dsetName = "somePath/to/a/dset"
let data = h5f[dsetName, <the datatype of the dset>] In general look at the tests (for lack of tutorials and documentation): |
thanks I couldn't get readAs to work Error: type mismatch: got however the [] works. |
Hm, the error you get when using The likely reason for this I assume is that you're using version I'll push a new version! |
Error: unhandled exception: Wrong input shape of buffer to write to in
read
. Buffer shape@[1497098, 2000]
, dataset has shape@[1497098, 2000]
[ValueError]The text was updated successfully, but these errors were encountered: