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 Jan 27, 2025
1 parent d1793fe commit 59354cd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/anemoi/inference/outputs/extract_lam.py
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ def __init__(self, context, *, output, lam="lam_0", output_frequency=None, write

mask = self.checkpoint.load_supporting_array(f"{lam}/cutout_mask")
an = array_api.get_backend(mask).module

assert len(mask) == an.sum(mask)
points = slice(None, an.sum(mask))

Expand Down

0 comments on commit 59354cd

Please sign in to comment.