diff --git a/src/hyfi/main/main.py b/src/hyfi/main/main.py index c268a6fe..fd758bf8 100644 --- a/src/hyfi/main/main.py +++ b/src/hyfi/main/main.py @@ -542,7 +542,8 @@ def run_config( "The HyFI config is not instantiatable, running HyFI task with the config" ) # Run the HyFI task - if "tasks" in config or cmd_name == "run_workflow": + config_group = config.get("config_group", "") + if config_group == "workflow" or cmd_name == "run_workflow": workflow = HyFI.workflow(**config) HyFI.run_workflow(workflow) elif "task" in config and (cmd_name is None or cmd_name == "run_task"):