Skip to content

Commit

Permalink
check if correct output files were generated
Browse files Browse the repository at this point in the history
  • Loading branch information
sainirmayi committed Mar 21, 2024
1 parent 3620565 commit 3ee96de
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/salmon/index/test.sh
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ echo ">>> Run salmon_index"
echo ">>> Checking whether output exists"
[ ! -d "index" ] && echo "'index' does not exist!" && exit 1
[ -z "$(ls -A 'index')" ] && echo "'index' is empty!" && exit 1
[ ! -f "index/info.json" ] && echo "Salmon index does not contain 'info.json'! Not all files were generated correctly!" && exit 1

echo "All tests succeeded!"
exit 0

0 comments on commit 3ee96de

Please sign in to comment.