From a52456680c3a5ded22c45e74f07f04d9e2ddb6ca Mon Sep 17 00:00:00 2001 From: Andrea Telatin Date: Fri, 14 May 2021 13:40:30 +0100 Subject: [PATCH] 1.0.1 --- bin/dadaist2 | 2 +- test/all.sh | 7 ++++++- 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/bin/dadaist2 b/bin/dadaist2 index 8d6f994..53c447d 100755 --- a/bin/dadaist2 +++ b/bin/dadaist2 @@ -2,7 +2,7 @@ #ABSTRACT: A program to run DADA2 from the CLI use 5.012; use warnings; -my $VERSION = '1.0.0'; +my $VERSION = '1.0.1'; BEGIN { diff --git a/test/all.sh b/test/all.sh index e21299c..1adae03 100755 --- a/test/all.sh +++ b/test/all.sh @@ -9,7 +9,7 @@ OUT="$BASEDIR/output/" PASS="\e[32mPASS\e[0m" FAIL="\e[31m** FAIL **\e[0m" mkdir -p "$OUT/" -conda activate dadaist +which conda && conda activate dadaist echo '--------------' echo -e "Test dir:\t$TEST_DIR" echo -e "Base dir:\t$BASEDIR" @@ -26,6 +26,11 @@ echo '--------------' set -eux pipefail +# TEST: VERSION +echo " [0] Check version" +perl "$SCRIPTS"/dadaist2 --version && printf " * $PASS: Version $($SCRIPTS/dadaist2 --version )\n"; + + # TEST: NO TAXONOMY echo " [1] Test basic settings" perl "$SCRIPTS"/dadaist2 -i "$DATA" -o "$OUT"/no-tax --tmp-dir "$BASEDIR" > /dev/null 2>&1 || echo "dadaist failed: debugging"