Skip to content

Commit 88f399c

Browse files
committed
fix invocation
1 parent de73651 commit 88f399c

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

pipes/WDL/tasks/tasks_reports.wdl

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -300,7 +300,8 @@ task coverage_report {
300300
python3 << CODE
301301
import tools.samtools
302302
import reports
303-
in_bams = list([bam for bam in ["~{sep='", "' mapped_bams}"] if bam and not tools.samtools.isEmpty(bam)])
303+
samtools = tools.samtools.SamtoolsTool()
304+
in_bams = list([bam for bam in ["~{sep='", "' mapped_bams}"] if bam and not samtools.isEmpty(bam)])
304305
if in_bams:
305306
reports.coverage_only(in_bams, "~{out_report_name}")
306307
else:

0 commit comments

Comments
 (0)