Skip to content

Commit

Permalink
style: pre-commit fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
pre-commit-ci[bot] committed Sep 3, 2024
1 parent 968ea92 commit ca08c64
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions tests/lh5/test_core.py
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,9 @@ def test_read_multiple_files(lh5_file):
assert isinstance(lh5_obj, lgdo.Array)
assert len(lh5_obj) == 9
assert (lh5_obj.nda == np.array([2, 3, 4] * 3)).all()

lh5_obj = lh5.read("/data/struct/array", [lh5_file, lh5_file, lh5_file], idx=[1, 3, 5, 7])

lh5_obj = lh5.read(
"/data/struct/array", [lh5_file, lh5_file, lh5_file], idx=[1, 3, 5, 7]
)
assert len(lh5_obj) == 4
assert (lh5_obj.nda == np.array([3, 2, 4, 3])).all()

0 comments on commit ca08c64

Please sign in to comment.