Skip to content

Commit bcfd819

Browse files
feat: add ability to pass group args to remote jobs
1 parent ff5b51d commit bcfd819

3 files changed

Lines changed: 3 additions & 0 deletions

File tree

snakemake_interface_executor_plugins/cli.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@ def general_args(
88
self,
99
pass_default_storage_provider_args: bool = True,
1010
pass_default_resources_args: bool = False,
11+
pass_group_args: bool = False,
1112
) -> str:
1213
...
1314

snakemake_interface_executor_plugins/executors/real.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -151,6 +151,7 @@ def format_job_exec(self, job: JobExecutorInterface) -> str:
151151
general_args = self.workflow.spawned_job_args_factory.general_args(
152152
pass_default_storage_provider_args=self.common_settings.pass_default_storage_provider_args,
153153
pass_default_resources_args=self.common_settings.pass_default_resources_args,
154+
pass_group_args=self.common_settings.pass_group_args,
154155
)
155156
precommand = self.workflow.spawned_job_args_factory.precommand(
156157
auto_deploy_default_storage_provider=self.common_settings.auto_deploy_default_storage_provider

snakemake_interface_executor_plugins/settings.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -59,6 +59,7 @@ class CommonSettings:
5959
pass_envvar_declarations_to_cmd: bool = True
6060
auto_deploy_default_storage_provider: bool = True
6161
init_seconds_before_status_checks: int = 0
62+
pass_group_args: bool = False
6263

6364
@property
6465
def local_exec(self):

0 commit comments

Comments
 (0)