From 5245d77acdd094375e6e5f645994bb1fd8443da9 Mon Sep 17 00:00:00 2001 From: Acribbs Date: Sun, 10 Nov 2024 21:07:13 +0000 Subject: [PATCH] added option to run LocalExecutor if in testing --- cgatcore/pipeline/execution.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/cgatcore/pipeline/execution.py b/cgatcore/pipeline/execution.py index 4481dcf2..241a0401 100644 --- a/cgatcore/pipeline/execution.py +++ b/cgatcore/pipeline/execution.py @@ -343,6 +343,9 @@ def get_executor(options=None): if options is None: options = get_params() + if options.get("testing", False): + return LocalExecutor(**options) + queue_manager = options.get("cluster_queue_manager", None) if queue_manager == "kubernetes" and KubernetesExecutor is not None: