Skip to content

Commit

Permalink
update test
Browse files Browse the repository at this point in the history
  • Loading branch information
telatin committed Sep 25, 2024
1 parent 8fbbfce commit b9a000c
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions test/test.sh
Original file line number Diff line number Diff line change
Expand Up @@ -34,9 +34,12 @@ fi
mkdir -p "$OUT_DIR"
COUNTER=0
# $COMPRESSOR = gzip or pigz if available
COMPRESSOR=$(which pigz)
COMPRESSOR=$(which pigz 2>/dev/null || echo "")
# If pigz is not found, try gzip
if [ -z "$COMPRESSOR" ]; then
COMPRESSOR=$(which gzip)
echo "pigz not found, trying gzip..."
COMPRESSOR=$(which gzip 2>/dev/null || echo "")
echo "gzip path: $COMPRESSOR"
fi

for FORMAT in fasta fastq;
Expand Down

0 comments on commit b9a000c

Please sign in to comment.