File tree Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -12,8 +12,10 @@ tmp="${pwd}/test_data/tmp"
12
12
if command -v conda & > /dev/null; then
13
13
activate_conda=$( type -a conda | grep -Eo ' /.*conda' | head -n 1 | sed ' s/\/bin\|\/condabin.*$/\/bin\/activate/' )
14
14
else
15
- echo " please install conda. Then run this script"
15
+ echo " please install conda. Then run this script"
16
+ exit 1
16
17
fi
18
+ conda init
17
19
. ${activate_conda} || echo " Perhaps conda is not in: $( type -a conda) ?"
18
20
19
21
# All these are to avoid dependencies problems... #
@@ -23,7 +25,6 @@ conda config --add channels defaults
23
25
conda config --add channels conda-forge
24
26
conda config --add channels bioconda
25
27
conda install -c conda-forge libgcc-ng=12
26
- conda init
27
28
#
28
29
29
30
conda create --name nextflow.emseq --yes python=3.8 && conda install --name nextflow.emseq --yes bioconda:nextflow=23.10 bioconda::samtools=1.19
You can’t perform that action at this time.
0 commit comments