Skip to content

Commit 16f6454

Browse files
[pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
1 parent 8c8b721 commit 16f6454

File tree

2 files changed

+2
-5
lines changed

2 files changed

+2
-5
lines changed

metnet/layers/MBConv.py

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -65,10 +65,8 @@ def __init__(
6565

6666
if self.downscale:
6767
# TODO: Check if downscaling is needed at all. May impact layer normalisation.
68-
raise NotImplementedError(
69-
"Downscaling in MBConv hasn't been implemented as it \
70-
isnt used in Metnet3"
71-
)
68+
raise NotImplementedError("Downscaling in MBConv hasn't been implemented as it \
69+
isnt used in Metnet3")
7270

7371
self.main_branch = nn.Sequential(
7472
self.pre_norm, # Pre Normalize over the last three dimensions (i.e. the channel and spatial dimensions) # noqa

tests/test_merge_gaussian.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,6 @@
88
get_band_data,
99
)
1010

11-
1211
# ---------------------------------------------------------
1312
# Helpers: create synthetic lat/lon grids
1413
# ---------------------------------------------------------

0 commit comments

Comments
 (0)