Commit 72cf8aea authored by Laura Denies's avatar Laura Denies
Browse files

failsafe empty files

parent d5d52d4a
......@@ -41,9 +41,9 @@ rule aggregate_VirSorter:
"""
if [ -s {output} ]
then
mv {input} {output}
else
cp scripts/virsorter_headers.csv {output}
else
mv {input} {output}
fi
"""
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment