Skip to content

Commit

Permalink
add RemFile as a supported format (#946)
Browse files Browse the repository at this point in the history
* add RemFile as a supported format

* Update h5tools.py

* Update h5tools.py

---------

Co-authored-by: Ryan Ly <rly@lbl.gov>
  • Loading branch information
bendichter and rly committed Aug 25, 2023
1 parent 1ca4457 commit e801d9e
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/hdmf/backends/hdf5/h5tools.py
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,8 @@ def can_read(path):
'doc': 'the BuildManager or a TypeMap to construct a BuildManager to use for I/O', 'default': None},
{'name': 'comm', 'type': 'Intracomm',
'doc': 'the MPI communicator to use for parallel I/O', 'default': None},
{'name': 'file', 'type': [File, "S3File"], 'doc': 'a pre-existing h5py.File object', 'default': None},
{'name': 'file', 'type': [File, "S3File", "RemFile"],
'doc': 'a pre-existing h5py.File, S3File, or RemFile object', 'default': None},
{'name': 'driver', 'type': str, 'doc': 'driver for h5py to use when opening HDF5 file', 'default': None},
{'name': 'herd_path', 'type': str,
'doc': 'The path to the HERD', 'default': None},)
Expand Down

0 comments on commit e801d9e

Please sign in to comment.