From 3ee96debe3971994f4b40b4146b86a3d57481b05 Mon Sep 17 00:00:00 2001 From: Nirmayi Date: Thu, 21 Mar 2024 13:11:02 +0100 Subject: [PATCH] check if correct output files were generated --- src/salmon/index/test.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/src/salmon/index/test.sh b/src/salmon/index/test.sh index 2cfd23fe..6cb6ed6d 100644 --- a/src/salmon/index/test.sh +++ b/src/salmon/index/test.sh @@ -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