Skip to content

Commit

Permalink
Expose cache_spec option in NWBHDF5IO.export
Browse files Browse the repository at this point in the history
  • Loading branch information
rly committed Sep 5, 2024
1 parent 71ef8e2 commit 751b7d2
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/pynwb/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -368,7 +368,9 @@ def read(self, **kwargs):
'default': None},
{'name': 'write_args', 'type': dict,
'doc': 'arguments to pass to :py:meth:`~hdmf.backends.io.HDMFIO.write_builder`',
'default': None})
'default': None},
{'name': 'cache_spec', 'type': bool, 'doc': 'whether to cache the specification to file',
'default': True})
def export(self, **kwargs):
"""
Export an NWB file to a new NWB file using the HDF5 backend.
Expand Down

0 comments on commit 751b7d2

Please sign in to comment.