diff --git a/monai/apps/auto3dseg/auto_runner.py b/monai/apps/auto3dseg/auto_runner.py index d06effcd1a..f854265fc6 100644 --- a/monai/apps/auto3dseg/auto_runner.py +++ b/monai/apps/auto3dseg/auto_runner.py @@ -229,7 +229,7 @@ def __init__( input = os.path.join(os.path.abspath(work_dir), "input.yaml") logger.info(f"Input config is not provided, using the default {input}") - self.data_src_cfg = dict() + self.data_src_cfg = {} if isinstance(input, dict): self.data_src_cfg = input elif isinstance(input, str) and os.path.isfile(input):