Skip to content

Commit

Permalink
Merge pull request #1384 from mstabrin/patch-1
Browse files Browse the repository at this point in the history
Allow missing conda_exec
  • Loading branch information
mvdbeek committed Aug 30, 2023
2 parents 8795cac + 0f31fdf commit b413fe4
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions planemo/conda.py
Expand Up @@ -37,6 +37,7 @@ def build_conda_context(ctx: "PlanemoCliContext", **kwds) -> CondaContext:
"""
condarc_override_default = os.path.join(ctx.workspace, "condarc")
conda_prefix = kwds.get("conda_prefix", None)
conda_exec = kwds.get("conda_exec", None)
use_planemo_shell = kwds.get("use_planemo_shell_exec", True)
ensure_channels = kwds.get("conda_ensure_channels", "")
condarc_override = kwds.get("condarc", condarc_override_default)
Expand All @@ -48,6 +49,7 @@ def build_conda_context(ctx: "PlanemoCliContext", **kwds) -> CondaContext:
condarc_override=condarc_override,
use_local=use_local,
shell_exec=shell_exec,
conda_exec=conda_exec,
)
handle_auto_init = kwds.get("handle_auto_init", False)
if handle_auto_init and not conda_context.is_installed():
Expand Down

0 comments on commit b413fe4

Please sign in to comment.