Skip to content

Commit

Permalink
Merge pull request #4 from zacherydickson/master
Browse files Browse the repository at this point in the history
Allowed input_data to be symbolic links
  • Loading branch information
pratas authored Jun 10, 2024
2 parents 2ded56e + 07c81f9 commit 517b9c7
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/TRACESPipe.sh
Original file line number Diff line number Diff line change
Expand Up @@ -166,8 +166,8 @@ CHECK_META_INFO () {
#
#
CHECK_GZIP_FILES () {
FILE_GZ1=`file ../input_data/$1 | grep gzip | wc -l`;
FILE_GZ2=`file ../input_data/$2 | grep gzip | wc -l`;
FILE_GZ1=`file -L ../input_data/$1 | grep gzip | wc -l`;
FILE_GZ2=`file -L ../input_data/$2 | grep gzip | wc -l`;
if [[ "$FILE_GZ1" != "1" ]] || [[ "$FILE_GZ2" != "1" ]];
then
echo -e "\e[31mERROR: the input reads are not gzipped!\e[0m"
Expand Down

0 comments on commit 517b9c7

Please sign in to comment.