Skip to content

Commit

Permalink
feat: add ability to pass group args to remote jobs
Browse files Browse the repository at this point in the history
  • Loading branch information
johanneskoester committed Jan 16, 2024
1 parent ff5b51d commit bcfd819
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 0 deletions.
1 change: 1 addition & 0 deletions snakemake_interface_executor_plugins/cli.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ def general_args(
self,
pass_default_storage_provider_args: bool = True,
pass_default_resources_args: bool = False,
pass_group_args: bool = False,
) -> str:
...

Expand Down
1 change: 1 addition & 0 deletions snakemake_interface_executor_plugins/executors/real.py
Original file line number Diff line number Diff line change
Expand Up @@ -151,6 +151,7 @@ def format_job_exec(self, job: JobExecutorInterface) -> str:
general_args = self.workflow.spawned_job_args_factory.general_args(
pass_default_storage_provider_args=self.common_settings.pass_default_storage_provider_args,
pass_default_resources_args=self.common_settings.pass_default_resources_args,
pass_group_args=self.common_settings.pass_group_args,
)
precommand = self.workflow.spawned_job_args_factory.precommand(
auto_deploy_default_storage_provider=self.common_settings.auto_deploy_default_storage_provider
Expand Down
1 change: 1 addition & 0 deletions snakemake_interface_executor_plugins/settings.py
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,7 @@ class CommonSettings:
pass_envvar_declarations_to_cmd: bool = True
auto_deploy_default_storage_provider: bool = True
init_seconds_before_status_checks: int = 0
pass_group_args: bool = False

@property
def local_exec(self):
Expand Down

0 comments on commit bcfd819

Please sign in to comment.