File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -29,7 +29,7 @@ conda config --add channels au-eoed 2> /dev/null
2929conda create -n gtotree biopython hmmer muscle trimal fasttree iqtree prodigal taxonkit gnu-parallel --yes
3030
3131# # activating environment
32- source activate gtotree
32+ source activate gtotree 2> /dev/null || conda activate gtotree
3333
3434# # creating directory for conda-env-specific source files
3535mkdir -p ${CONDA_PREFIX} /etc/conda/activate.d
@@ -62,7 +62,7 @@ echo 'export LC_ALL="en_US.UTF-8"' >> ${CONDA_PREFIX}/etc/conda/activate.d/env_v
6262echo ' export LANG="en_US.UTF-8"' >> ${CONDA_PREFIX} /etc/conda/activate.d/env_vars.sh
6363
6464# re-activating environment so variable and PATH changes take effect
65- source activate gtotree
65+ source activate gtotree 2> /dev/null || conda activate gtotree
6666
6767# # removing citation notifications from `parallel` (i note on all places it is mentioned to please cite them and all tools in here)
6868printf " will cite" | parallel --citation 2& > /dev/null
You can’t perform that action at this time.
0 commit comments