transcript / samsa2

SAMSA pipeline, version 2.0. An open-source metatranscriptomics pipeline for analyzing microbiome data, built around DIAMOND and customizable reference databases.
GNU General Public License v3.0
53 stars 36 forks source link

Error correction (package_installation.bash and full_database_download.bash, issues66) #68

Closed EugeneKim76 closed 2 years ago

EugeneKim76 commented 2 years ago

From issue: https://github.com/transcript/samsa2/issues/66

  1. Error meassage of package_installation.bash command : bash setup_and_test/package_installation.bash Error message : setup_and_test/package_installation.bash: line 38: ../bash_scripts/lib/common.sh: No such file or directory

  2. Error meassage of full_database_download.bash command : bash setup_and_test/full_database_download.bash Error message : setup_and_test/full_database_download.bash: line 32: ../bash_scripts/lib/common.sh: No such file or directory

Hence, I suggest to fix package_installation.bash (and full_database_download.bash) as shown below.

if [[ -d "${BASH_SOURCE%/*}/../bash_scripts/lib/common.sh" ]]; then -> if [ -d "${BASH_SOURCE%/*}/../bash_scripts/lib/" ]; then