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 Dec 12, 2024
1 parent 154ee8f commit ef5ef03
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion znh5md/misc.py
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ def concatenate_varying_shape_arrays(

# Create the array filled with the fillvalue
dataset = np.full(maxshape, fillvalue, dtype=dtype)

# Get the slices for each value and assign them all at once
for i, value in enumerate(values):
slices = (i,) + tuple(slice(0, dim) for dim in value.shape)
Expand Down

0 comments on commit ef5ef03

Please sign in to comment.