Skip to content

Commit b04cd6a

Browse files
committed
allow missing batch summary
1 parent f8e019b commit b04cd6a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

modules/local/restructurebuscodir.nf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ process RESTRUCTUREBUSCODIR {
2323
"""
2424
mkdir -p ${lineage}
2525
26-
cp --dereference ${batch_summary} ${lineage}/short_summary.tsv
26+
[ -n "${short_summary_txt}" ] && cp --dereference ${batch_summary} ${lineage}/short_summary.tsv
2727
[ -n "${short_summary_txt}" ] && cp --dereference ${short_summary_txt} ${lineage}/short_summary.txt
2828
[ -n "${short_summary_json}" ] && cp --dereference ${short_summary_json} ${lineage}/short_summary.json
2929

0 commit comments

Comments
 (0)