Project-MONAI / MONAI

AI Toolkit for Healthcare Imaging
https://monai.io/
Apache License 2.0
5.5k stars 1.01k forks source link

Make MetaTensor optional printed in DataStats and DataStatsd #5905 #7814

Open slicepaste opened 4 weeks ago

slicepaste commented 4 weeks ago

Fixes #5905

Description

We simply add one argument for DataStats and DataStatsd to make MetaTensor optional printed.

Types of changes

KumoLiu commented 4 weeks ago

@slicepaste, after change the argument, please also try run ./runtests.sh --autofix to fix the format issue. https://github.com/Project-MONAI/MONAI/actions/runs/9312809059/job/25634185420?pr=7814#step:7:375

Thanks!

slicepaste commented 4 weeks ago

I'll figure out recently. Thanks for the reminder.

slicepaste commented 2 weeks ago

@KumoLiu I have fixed the argument and formatting problem, I would appreciate it if you could review this issue. If there are any additional changes, please let me know. Thank you very much!