Skip to content

Commit 45182fa

Browse files
Added get_wsi_at_mpp tests; fixed a few bugs
1 parent 0d9f1dd commit 45182fa

File tree

2 files changed

+1
-2
lines changed

2 files changed

+1
-2
lines changed

monai/data/wsi_reader.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1459,4 +1459,4 @@ def _resize_to_mpp_res(self, wsi, closest_lvl, mpp_list, user_mpp: tuple):
14591459
closest_lvl_wsi = pil_image.fromarray(wsi.pages[closest_lvl].asarray())
14601460
closest_lvl_wsi = closest_lvl_wsi.resize((target_res_x, target_res_y), pil_image.BILINEAR)
14611461

1462-
return closest_lvl_wsi
1462+
return closest_lvl_wsi

monai/transforms/regularization/array.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,6 @@
2525

2626

2727
class Mixer(RandomizableTransform):
28-
2928
def __init__(self, batch_size: int, alpha: float = 1.0) -> None:
3029
"""
3130
Mixer is a base class providing the basic logic for the mixup-class of

0 commit comments

Comments
 (0)