Skip to content

Commit c3ee2fc

Browse files
KumoLiuatbenmurray
andauthored
Update monai/transforms/transform.py
Co-authored-by: Ben Murray <[email protected]> Signed-off-by: YunLiu <[email protected]>
1 parent 10d89ad commit c3ee2fc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

monai/transforms/transform.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -144,7 +144,7 @@ def apply_transform(
144144
map_items_ = int(map_items) if isinstance(map_items, bool) else map_items
145145
if isinstance(data, (list, tuple)) and map_items_ > 0:
146146
return [
147-
apply_transform(transform, item, map_items - 1, unpack_items, log_stats, lazy, overrides)
147+
apply_transform(transform, item, map_items_ - 1, unpack_items, log_stats, lazy, overrides)
148148
for item in data
149149
]
150150
return _apply_transform(transform, data, unpack_items, lazy, overrides, log_stats)

0 commit comments

Comments
 (0)