test: add nested Compose map_items coverage and preserve flatten() attrs · Project-MONAI/MONAI@f89ab6f · GitHub
Skip to content

Commit f89ab6f

Browse files
committed
test: add nested Compose map_items coverage and preserve flatten() attrs
Expand test coverage for nested Compose transforms with different map_items configurations, and forward map_items, unpack_items, log_stats, lazy, and overrides through Compose.flatten() so the flattened pipeline is equivalent to the original (mirroring OneOf.flatten behavior). Signed-off-by: Soumya Snigdha Kundu <soumya_snigdha.kundu@kcl.ac.uk>
1 parent 593657f commit f89ab6f

2 files changed

Lines changed: 125 additions & 1 deletion

File tree

‎monai/transforms/compose.py‎

Lines changed: 8 additions & 1 deletion

‎tests/transforms/compose/test_compose.py‎

Lines changed: 117 additions & 0 deletions

0 commit comments

Comments
 (0)