Skip to content

Commit

Permalink
fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
johanneskoester committed Jul 12, 2023
1 parent dc6895a commit 050ad14
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 0 deletions.
15 changes: 15 additions & 0 deletions snakemake/executors/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down
2 changes: 2 additions & 0 deletions snakemake/scheduler.py
Original file line number Diff line number Diff line change
Expand Up @@ -172,6 +172,8 @@ def __init__(
self._executor = TouchExecutor(
workflow,
dag,
self.stats,
logger,
)

# We have chosen an executor custom plugin
Expand Down

0 comments on commit 050ad14

Please sign in to comment.