diff --git a/tests/script_tests/run_small_tests.sh b/tests/script_tests/run_small_tests.sh index 1f64726..9cbe0b7 100755 --- a/tests/script_tests/run_small_tests.sh +++ b/tests/script_tests/run_small_tests.sh @@ -55,10 +55,37 @@ echo "Classifying sample, specific settings" rm results.csv 2> /dev/null # make a streaming pre-filter /usr/bin/time python ${scriptsDir}/StreamingQueryDNADatabase.py ${testOrganism} TrainingDatabase.h5 results.csv 10-21-2 +if test -f results.csv; then + echo "specific classify successful" + cat results.csv +else + echo "SOMETHING WENT WRONG!!!!" + exit 1 +fi + +# intersection tests + +echo "Classifying sample, sensitive settings, with KMC intersect" +rm results.csv 2> /dev/null +# make a streaming pre-filter +/usr/bin/time python ${scriptsDir}/StreamingQueryDNADatabase.py ${testOrganism} TrainingDatabase.h5 results.csv 10-21-2 --sensitive --intersect if test -f results.csv; then echo "sensitive classify successful" cat results.csv else echo "SOMETHING WENT WRONG!!!!" exit 1 +fi + + +echo "Classifying sample, specific settings, with KMC intersect" +rm results.csv 2> /dev/null +# make a streaming pre-filter +/usr/bin/time python ${scriptsDir}/StreamingQueryDNADatabase.py ${testOrganism} TrainingDatabase.h5 results.csv 10-21-2 --intersect +if test -f results.csv; then + echo "specific classify successful" + cat results.csv +else + echo "SOMETHING WENT WRONG!!!!" + exit 1 fi \ No newline at end of file