Skip to content

Fix micromamba activation within an script issue #698

Description

@victor5lm

Until now, we had the issue that we could not activate a certain micromamba environment when executing a bash script. This environment had to be activated beforehand. This can be fixed by adding the following lines before the eval and micromamba activate lines, and adapting the eval line accordingly:

export MAMBA_EXE="/data/ucct/bi/pipelines/micromamba/bin/micromamba"
export MAMBA_ROOT_PREFIX="/data/ucct/bi/pipelines/micromamba"
eval "$($MAMBA_EXE shell hook --shell bash)"

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Fields

No fields configured for issues without a type.

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions