diff --git a/snakemake/executors/__init__.py b/snakemake/executors/__init__.py index 562c04c9c..5d7591a6a 100644 --- a/snakemake/executors/__init__.py +++ b/snakemake/executors/__init__.py @@ -100,6 +100,21 @@ def handle_job_error(self, job: ExecutorJobInterface): class TouchExecutor(RealExecutor): + def __init__( + self, + workflow: WorkflowExecutorInterface, + dag: DAGExecutorInterface, + stats: StatsExecutorInterface, + logger: LoggerExecutorInterface, + ): + super().__init__( + workflow, + dag, + stats, + logger, + executor_settings=None, + ) + def run( self, job: ExecutorJobInterface, diff --git a/snakemake/scheduler.py b/snakemake/scheduler.py index 3327be0d2..539b50a76 100644 --- a/snakemake/scheduler.py +++ b/snakemake/scheduler.py @@ -172,6 +172,8 @@ def __init__( self._executor = TouchExecutor( workflow, dag, + self.stats, + logger, ) # We have chosen an executor custom plugin