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 Jul 11, 2023
1 parent 65ac10a commit 7a5401d
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions src/dolphin/masking.py
Original file line number Diff line number Diff line change
Expand Up @@ -109,10 +109,8 @@ def combine_mask_files(
input_conventions = [MaskConvention.NUMPY] * len(mask_files)
elif len(input_conventions) != len(mask_files):
raise ValueError(
(
f"input_conventions ({len(input_conventions)}) must have the same"
f" length as mask_files ({len(mask_files)})"
),
f"input_conventions ({len(input_conventions)}) must have the same"
f" length as mask_files ({len(mask_files)})",
)

# Uses the numpy convention (1 = invalid, 0 = valid) for combining logic
Expand Down

0 comments on commit 7a5401d

Please sign in to comment.