enthought / enthought/distarray
`load_hdf5()` filename issues
- Dominant language
- Python
- Stars
- 5
- Forks
- 1
- PR merge metrics
- No merged PRs in 30d
Description
If `Context.load_hdf5()` is called with a relative path, it may fail with an:
``` python
IPython.parallel.error.CompositeError: one or more exceptions from call to method: func_wrapper
[0:apply]: IOError: Unable to open file (Mpi_err_no_such_file: no such file or directory)
[1:apply]: IOError: Unable to open file (Mpi_err_no_such_file: no such file or directory)
[2:apply]: IOError: Unable to open file (Mpi_err_no_such_file: no such file or directory)
[3:apply]: IOError: Unable to open file (Mpi_err_no_such_file: no such file or directory)
```
No error results if an absolute path is passed in instead.
I'd like to see `Context.load_hdf5` detect relative paths client-side and resolve into absolute paths before passing to engines, which should resolve this issue.
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.