Skip to content

Commit

Permalink
Merge pull request #4 from In-For-Disaster-Analytics/3-update-conda-f…
Browse files Browse the repository at this point in the history
…orce-to-conda-yes

Update run.sh
  • Loading branch information
mepearson authored Jul 18, 2024
2 parents 70ffd7b + fc4265a commit bc15060
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions run.sh
Original file line number Diff line number Diff line change
Expand Up @@ -238,10 +238,10 @@ function conda_environment_exists() {

function create_conda_environment() {
if [ -f $COOKBOOK_WORKSPACE_DIR/.binder/environment.yml ]; then
conda env create -n ${COOKBOOK_CONDA_ENV} -f $COOKBOOK_WORKSPACE_DIR/.binder/environment.yml --force
conda env create -n ${COOKBOOK_CONDA_ENV} -f $COOKBOOK_WORKSPACE_DIR/.binder/environment.yml --yes
conda activate ${COOKBOOK_CONDA_ENV}
elif [ -f $COOKBOOK_WORKSPACE_DIR/.binder/environment.yaml ]; then
conda env create -n ${COOKBOOK_CONDA_ENV} -f $COOKBOOK_WORKSPACE_DIR/.binder/environment.yaml --force
conda env create -n ${COOKBOOK_CONDA_ENV} -f $COOKBOOK_WORKSPACE_DIR/.binder/environment.yaml --yes
conda activate ${COOKBOOK_CONDA_ENV}
fi
if [ -f $COOKBOOK_WORKSPACE_DIR/.binder/requirements.txt ]; then
Expand Down

0 comments on commit bc15060

Please sign in to comment.