Skip to content

Commit df46ddb

Browse files
fix: --conda-frontend value not passed on to cluster jobs (snakemake#1317)
* fix: --conda-frontend value not passed on to cluster jobs * fmt Co-authored-by: Johannes Köster <[email protected]>
1 parent 6e2ecd2 commit df46ddb

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

snakemake/executors/__init__.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -293,6 +293,10 @@ def get_additional_args(self):
293293
additional += " --shadow-prefix {} ".format(self.workflow.shadow_prefix)
294294
if self.workflow.use_conda:
295295
additional += " --use-conda "
296+
if self.workflow.conda_frontend:
297+
additional += " --conda-frontend {} ".format(
298+
self.workflow.conda_frontend
299+
)
296300
if self.workflow.conda_prefix:
297301
additional += " --conda-prefix {} ".format(self.workflow.conda_prefix)
298302
if self.workflow.conda_base_path and self.assume_shared_fs:

0 commit comments

Comments
 (0)