Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
jakevc committed Jul 20, 2024
1 parent a0d2872 commit 6a8e08e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 6 deletions.
2 changes: 1 addition & 1 deletion snakemake_executor_plugin_azure_batch/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -353,7 +353,7 @@ def run_job(self, job: JobExecutorInterface):
self.logger.debug(f"Remote command: {remote_command}")

task: bm.TaskAddParameter = build.batch_task(
job, self.envvars(), remote_command
job, self.container_image, self.envvars(), remote_command
)

job_info = SubmittedJobInfo(job, external_jobid=task.id)
Expand Down
6 changes: 1 addition & 5 deletions snakemake_executor_plugin_azure_batch/build.py
Original file line number Diff line number Diff line change
Expand Up @@ -32,12 +32,8 @@

from snakemake_executor_plugin_azure_batch.constant import DEFAULT_AUTO_SCALE_FORMULA

from . import ExecutorSettings


def batch_pool_params(
pool_id: str, settings: ExecutorSettings, container_image: str
) -> Pool:
def batch_pool_params(pool_id: str, settings, container_image: str) -> Pool:
"""
Constructs a Batch Pool object with the specified parameters.
Expand Down

0 comments on commit 6a8e08e

Please sign in to comment.