Skip to content

Commit

Permalink
update stacklevel to match upstream
Browse files Browse the repository at this point in the history
  • Loading branch information
magland committed Sep 18, 2024
1 parent a1e2d1f commit 86e0cfd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/hdmf/backends/hdf5/h5_utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -541,7 +541,7 @@ def __init__(self, **kwargs):
if isinstance(self.data, Dataset):
for k in self.__iosettings.keys():
warnings.warn("%s in H5DataIO will be ignored with H5DataIO.data being an HDF5 dataset" % k,
stacklevel=2)
stacklevel=4)

self.__dataset = None

Expand Down

0 comments on commit 86e0cfd

Please sign in to comment.