From fc36c643519f3db8393da6b17ee35b98f69410ba Mon Sep 17 00:00:00 2001 From: Kai Waldrant Date: Tue, 6 Feb 2024 11:51:54 +0100 Subject: [PATCH] update test lofreq call --- src/lofreq/call/test.sh | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/lofreq/call/test.sh b/src/lofreq/call/test.sh index ccd8100c..457687d3 100644 --- a/src/lofreq/call/test.sh +++ b/src/lofreq/call/test.sh @@ -14,4 +14,7 @@ echo "> Run lofreq call" echo ">> Checking output" [ ! -f "output.vcf" ] && echo "Output file output.vcf does not exist" && exit 1 +echo ">> Check if output is empty" +[ ! -s "output.vcf" ] && echo "Output file output.vcf is empty" && exit 1 + echo "> Test successful" \ No newline at end of file