Skip to content

Commit 1c017cd

Browse files
committed
WIP,...
1 parent 813cf1f commit 1c017cd

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

run_test.sh

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,10 @@ tmp="${pwd}/test_data/tmp"
1212
if command -v conda &> /dev/null; then
1313
activate_conda=$(type -a conda | grep -Eo '/.*conda' | head -n 1 | sed 's/\/bin\|\/condabin.*$/\/bin\/activate/')
1414
else
15-
echo "please install conda. Then run this script"
15+
echo "please install conda. Then run this script"
16+
exit 1
1617
fi
18+
conda init
1719
. ${activate_conda} || echo "Perhaps conda is not in: $(type -a conda) ?"
1820

1921
# All these are to avoid dependencies problems... #
@@ -23,7 +25,6 @@ conda config --add channels defaults
2325
conda config --add channels conda-forge
2426
conda config --add channels bioconda
2527
conda install -c conda-forge libgcc-ng=12
26-
conda init
2728
#
2829

2930
conda create --name nextflow.emseq --yes python=3.8 && conda install --name nextflow.emseq --yes bioconda:nextflow=23.10 bioconda::samtools=1.19

0 commit comments

Comments
 (0)