Skip to content

Commit

Permalink
Don't fail if conda is missing defaults channel
Browse files Browse the repository at this point in the history
  • Loading branch information
benmwebb committed Nov 6, 2024
1 parent 64b232c commit 4ea9fc2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tools/setup_ci.sh
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ python_version=$2
bin_dir=${top_dir}/bin
mkdir -p ${bin_dir}

conda config --remove channels defaults # get conda-forge, not main, packages
conda config --remove channels defaults || : # get conda-forge, not main, packages
conda create --yes -q -n python${python_version} -c salilab -c conda-forge python=${python_version} pip biopython networkx dill pandas scipy matplotlib imp-nightly eigen swig cmake
eval "$(conda shell.bash hook)"
conda activate python${python_version}
Expand Down

0 comments on commit 4ea9fc2

Please sign in to comment.