appier / h5sparse

Scipy sparse matrix in HDF5
https://pypi.python.org/pypi/h5sparse
MIT License
45 stars 8 forks source link

Create h5 files with write permissions #17

Closed nileshpatra closed 4 years ago

nileshpatra commented 4 years ago

As stated in the test warnings

H5pyDeprecationWarning: The default file mode will change to 'r' (read-only) in h5py 3.0. To suppress this warning, pass the mode you need to h5py.File(), or set the global default h5.get_config().default_file_mode, or set the environment variable H5PY_DEFAULT_READONLY=1. Available modes are: 'r', 'r+', 'w', 'w-'/'x', 'a'. See the docs for details.

This is an attempt to fix the same.