Skip to content

Commit 1173908

Browse files
committed
Replace Miniconda with Miniforge. Remove pinned env files.
1 parent c9039aa commit 1173908

File tree

5 files changed

+61
-1514
lines changed

5 files changed

+61
-1514
lines changed

env.sh

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,14 @@
44
MGENVDIR=$(dirname "${BASH_SOURCE[0]}")
55

66
# setup environment variables
7+
# Note: this also adds "$INSTALLDIR/conda/bin" to $PATH
8+
echo "[mgenv] setting environmental variables"
79
source ${MGENVDIR}/variables.sh
810

11+
# activate conda
12+
echo "[mgenv] activating conda"
13+
source "$INSTALLDIR/conda/etc/profile.d/conda.sh"
14+
915
# activate conda environment
10-
command -v conda > /dev/null && source activate $CONDANAME || echo "conda not installed"
16+
echo "[mgenv] activating environment $CONDANAME"
17+
command -v conda > /dev/null && conda activate $CONDANAME || echo "conda not installed"

0 commit comments

Comments
 (0)