Skip to content

Commit 23e4a74

Browse files
Added get_wsi_at_mpp tests; fixed a few bugs
1 parent 8270658 commit 23e4a74

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
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

0 commit comments

Comments
 (0)