Skip to content

Commit

Permalink
fix: --conda-frontend value not passed on to cluster jobs (#1317)
Browse files Browse the repository at this point in the history
* fix: --conda-frontend value not passed on to cluster jobs

* fmt

Co-authored-by: Johannes Köster <johannes.koester@tu-dortmund.de>
  • Loading branch information
cjops and johanneskoester committed Jan 11, 2022
1 parent 6e2ecd2 commit df46ddb
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions snakemake/executors/__init__.py
Expand Up @@ -293,6 +293,10 @@ def get_additional_args(self):
additional += " --shadow-prefix {} ".format(self.workflow.shadow_prefix)
if self.workflow.use_conda:
additional += " --use-conda "
if self.workflow.conda_frontend:
additional += " --conda-frontend {} ".format(
self.workflow.conda_frontend
)
if self.workflow.conda_prefix:
additional += " --conda-prefix {} ".format(self.workflow.conda_prefix)
if self.workflow.conda_base_path and self.assume_shared_fs:
Expand Down

0 comments on commit df46ddb

Please sign in to comment.