Skip to content

Commit

Permalink
added link_data --> clear_cache relationship
Browse files Browse the repository at this point in the history
  • Loading branch information
pauladkisson committed Aug 21, 2024
1 parent 82c993c commit e6e22ca
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/hdmf_zarr/backend.py
Original file line number Diff line number Diff line change
Expand Up @@ -362,6 +362,8 @@ def export(self, **kwargs):
write_args['export_source'] = src_io.source # pass export_source=src_io.source to write_builder
ckwargs = kwargs.copy()
ckwargs['write_args'] = write_args
if not write_args.get('link_data', True):
ckwargs['clear_cache'] = True
super().export(**ckwargs)
if cache_spec:
self.__cache_spec()
Expand Down

0 comments on commit e6e22ca

Please sign in to comment.