Skip to content

Commit 187266c

Browse files
committed
force downloading of test_data.tar.gz
1 parent 2eda37f commit 187266c

1 file changed

Lines changed: 4 additions & 2 deletions

File tree

run_tests.sh

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,19 +13,21 @@ function unpack_test_data() {
1313
echo "Error: invalid test data archive?"
1414
exit 1
1515
fi
16+
/bin/rm -f test_data.tar.gz
1617
}
1718

18-
if [ ! -f test_data/human-chr19_P.gff ]; then
19+
#if [ ! -f test_data/human-chr19_P.gff ]; then
1920
if [ -f test_data.tar.gz ]; then
2021
#extract the tarball and rename the directory
22+
echo "..Using existing ./test_data.tar.gz"
2123
unpack_test_data
2224
else
2325
echo "..Downloading test data.."
2426
#use curl to fetch the tarball from a specific github release or branch
2527
curl -sLJO https://github.com/gpertea/stringtie/raw/test_data/test_data.tar.gz
2628
unpack_test_data
2729
fi
28-
fi
30+
# fi
2931
cd test_data
3032
# array element format:
3133
#

0 commit comments

Comments
 (0)