Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion monai/auto3dseg/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -284,7 +284,7 @@ def verify_report_format(report: dict, report_format: dict) -> bool:

if isinstance(v_fmt, list) and isinstance(v, list):
if len(v_fmt) != 1:
raise UserWarning("list length in report_format is not 1")
warnings.warn("list length in report_format is not 1", stacklevel=2)
if len(v_fmt) > 0 and len(v) > 0:
return verify_report_format(v[0], v_fmt[0])
else:
Expand Down
Loading