From 9618f355c2fc979625176d28190a3a75aa5416c1 Mon Sep 17 00:00:00 2001 From: Aaron Kujawa Date: Mon, 31 Jul 2023 13:16:02 +0100 Subject: [PATCH] Code formatting --- monai/transforms/spatial/array.py | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/monai/transforms/spatial/array.py b/monai/transforms/spatial/array.py index 44d5c6ffa3..b87d3d0077 100644 --- a/monai/transforms/spatial/array.py +++ b/monai/transforms/spatial/array.py @@ -3520,10 +3520,7 @@ def __call__(self, img: torch.Tensor, randomize: bool = True) -> torch.Tensor: target_shape = np.round(input_shape * self.zoom_factor).astype(np.int_) resize_tfm_downsample = Resize( - spatial_size=target_shape, - size_mode="all", - mode=self.downsample_mode, - anti_aliasing=False + spatial_size=target_shape, size_mode="all", mode=self.downsample_mode, anti_aliasing=False ) resize_tfm_upsample = Resize(