Skip to content

Commit

Permalink
to_cluster False defaults to localExecutor
Browse files Browse the repository at this point in the history
  • Loading branch information
Acribbs committed Nov 10, 2024
1 parent ba6edea commit 0ab6ad0
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions cgatcore/pipeline/execution.py
Original file line number Diff line number Diff line change
Expand Up @@ -346,6 +346,10 @@ def get_executor(options=None):
if options.get("testing", False):
return LocalExecutor(**options)

# Check if to_cluster is explicitly set to False
if not options.get("to_cluster", True): # Defaults to True if not specified
return LocalExecutor(**options)

queue_manager = options.get("cluster_queue_manager", None)

# Check for KubernetesExecutor
Expand Down

0 comments on commit 0ab6ad0

Please sign in to comment.