Skip to content

Commit

Permalink
Use source activate rather than conda activate in hpc
Browse files Browse the repository at this point in the history
  • Loading branch information
sfmig committed Oct 29, 2024
1 parent 5d58d85 commit 16f6470
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
3 changes: 2 additions & 1 deletion bash_scripts/run_training_array.sh
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,8 @@ conda create \
python=3.10

# activate environment
conda activate $ENV_PREFIX
# conda activate $ENV_PREFIX
source activate $ENV_PREFIX

# install crabs package in virtual env
python -m pip install git+https://github.com/SainsburyWellcomeCentre/crabs-exploration.git@$GIT_BRANCH
Expand Down
4 changes: 3 additions & 1 deletion bash_scripts/run_training_single.sh
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,9 @@ conda create \
python=3.10

# activate environment
conda activate $ENV_PREFIX
# conda activate $ENV_PREFIX
source activate $ENV_PREFIX


# install crabs package in virtual env
python -m pip install git+https://github.com/SainsburyWellcomeCentre/crabs-exploration.git@$GIT_BRANCH
Expand Down

0 comments on commit 16f6470

Please sign in to comment.