From 97b7a715c7180e4f519b7ea8a6220a6491f36e11 Mon Sep 17 00:00:00 2001 From: Tim Pillinger <26465611+wxtim@users.noreply.github.com> Date: Thu, 14 Nov 2024 15:09:37 +0000 Subject: [PATCH] Update cylc/flow/scheduler.py Co-authored-by: Ronnie Dutta <61982285+MetRonnie@users.noreply.github.com> --- cylc/flow/scheduler.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cylc/flow/scheduler.py b/cylc/flow/scheduler.py index 7f924674c3..3e2710083e 100644 --- a/cylc/flow/scheduler.py +++ b/cylc/flow/scheduler.py @@ -1264,7 +1264,7 @@ def run_event_handlers(self, event, reason=""): Run workflow events only in live mode or skip mode. """ - if self.get_run_mode().value in WORKFLOW_ONLY_MODES: + if self.get_run_mode() in {RunMode.SIMULATION, RunMode.DUMMY}: return self.workflow_event_handler.handle(self, event, str(reason))