From 72f2600c672583e50a79fb161be69868bfb72d3b Mon Sep 17 00:00:00 2001 From: Tim Pillinger <26465611+wxtim@users.noreply.github.com> Date: Tue, 25 Jun 2024 20:31:49 +0100 Subject: [PATCH] Update cylc/flow/run_modes/nonlive.py Co-authored-by: Ronnie Dutta <61982285+MetRonnie@users.noreply.github.com> --- cylc/flow/run_modes/nonlive.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cylc/flow/run_modes/nonlive.py b/cylc/flow/run_modes/nonlive.py index 69c35e634ff..af9567527d6 100644 --- a/cylc/flow/run_modes/nonlive.py +++ b/cylc/flow/run_modes/nonlive.py @@ -40,7 +40,7 @@ def mode_validate_checks(taskdefs: 'Dict[str, TaskDef]'): } # Run through taskdefs looking for those with nonlive modes - for _, taskdef in taskdefs.items(): + for taskdef in taskdefs.values(): # Add to list of tasks to be run in non-live modes: if ( taskdef.rtconfig.get('run mode', None)