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

failsafe empty files

parent d5d52d4a
...@@ -41,9 +41,9 @@ rule aggregate_VirSorter: ...@@ -41,9 +41,9 @@ rule aggregate_VirSorter:
""" """
if [ -s {output} ] if [ -s {output} ]
then then
mv {input} {output} cp scripts/virsorter_headers.csv {output}
else else
cp scripts/virsorter_headers.csv {output} mv {input} {output}
fi 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