Skip to content

Commit

Permalink
[pre-commit.ci] auto fixes from pre-commit.com hooks
Browse files Browse the repository at this point in the history
for more information, see https://pre-commit.ci
  • Loading branch information
pre-commit-ci[bot] committed Feb 17, 2024
1 parent 35ee17d commit 384abc2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/hdmf/backends/hdf5/h5tools.py
Original file line number Diff line number Diff line change
Expand Up @@ -152,7 +152,7 @@ def __resolve_file_obj(cls, path, file_obj, driver, aws_region=None):
file_kwargs = dict()
if driver is not None:
file_kwargs.update(driver=driver)

if aws_region is not None:
file_kwargs.update(aws_region=bytes(aws_region, "ascii"))

Check warning on line 157 in src/hdmf/backends/hdf5/h5tools.py

View check run for this annotation

Codecov / codecov/patch

src/hdmf/backends/hdf5/h5tools.py#L157

Added line #L157 was not covered by tests
file_obj = File(path, 'r', **file_kwargs)
Expand Down

0 comments on commit 384abc2

Please sign in to comment.