-
Notifications
You must be signed in to change notification settings - Fork 47
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
store.write_result
: ValueError: 1 indexing arguments for 0 dimensions
#1205
Labels
Comments
dweindl
added a commit
to dweindl/pyPESTO
that referenced
this issue
Nov 21, 2023
* Refactor ProfileResultHDF5Writer to be more readable * Raise more informative error if writing to HDF5 fails * Don't index 0-dimensional datasets (Fixes ICB-DCM#1205)
dweindl
added a commit
to dweindl/pyPESTO
that referenced
this issue
Nov 21, 2023
* Refactor ProfileResultHDF5Writer to be more readable * Raise more informative error if writing to HDF5 fails * Don't index 0-dimensional datasets (Fixes ICB-DCM#1205)
dweindl
added a commit
to dweindl/pyPESTO
that referenced
this issue
Nov 21, 2023
* Make all `*_path` attributes numpy arrays as promised in the type hints This caused ICB-DCM#1205, because some entries were just plain `nan`. Fixes ICB-DCM#1205. * Fixes a lurking issue of potentially mismatching path lengths If e.g. x_path with length >1 was passed, but any of the default arguments would be missing, the *_paths wouldn't be aligned properly * Remove some unnecessary complexity
dweindl
added a commit
that referenced
this issue
Nov 22, 2023
* Make all `*_path` attributes numpy arrays as promised in the type hints This caused #1205, because some entries were just plain `nan`. Fixes #1205. * Fixes a lurking issue of potentially mismatching path lengths If e.g. `x_path` with length >1 was passed, but any of the default arguments would be missing, the `*_paths` wouldn't be aligned properly. I don't think this problem occurred here yet. * Remove some unnecessary complexity
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I just encountered
ValueError: 1 indexing arguments for 0 dimensions
belowstore.write_result
when saving profiling results in https://github.com/ICB-DCM/pyPESTO/actions/runs/6940677433/job/18880030097.Seems like some inputs aren't checked properly.
Full stack (
doc/example/amici.ipynb
):The text was updated successfully, but these errors were encountered: