Skip to content

Commit 67b8ffc

Browse files
committed
change it to pytables_kwargs
1 parent 1e7a4df commit 67b8ffc

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

deepdish/io/hdf5io.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -598,7 +598,7 @@ def save(path, data, compression='default'):
598598
group._v_attrs[DEEPDISH_IO_UNPACK] = True
599599

600600

601-
def load(path, group=None, sel=None, unpack=False, *args, **kwargs):
601+
def load(path, group=None, sel=None, unpack=False, pytables_kwargs={}):
602602
"""
603603
Loads an HDF5 saved with `save`.
604604
@@ -632,7 +632,7 @@ def load(path, group=None, sel=None, unpack=False, *args, **kwargs):
632632
save
633633
634634
"""
635-
with tables.open_file(path, mode='r', *args, **kwargs) as h5file:
635+
with tables.open_file(path, mode='r', **pytables_kwargs) as h5file:
636636
pathtable = {} # dict to keep track of objects already loaded
637637
if group is not None:
638638
if isinstance(group, str):

0 commit comments

Comments
 (0)