From 6fe662941fa3edfa409d98f40e3041a6d22c6392 Mon Sep 17 00:00:00 2001 From: Gregor Sturm Date: Mon, 22 Jan 2024 16:13:20 +0100 Subject: [PATCH] cast heap size to int --- modules/nf-core/umicollapse/main.nf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/nf-core/umicollapse/main.nf b/modules/nf-core/umicollapse/main.nf index 593463f8..314e0df1 100644 --- a/modules/nf-core/umicollapse/main.nf +++ b/modules/nf-core/umicollapse/main.nf @@ -25,7 +25,7 @@ process UMICOLLAPSE { """ umicollapse \\ - -Xmx${task.memory.toMega() * 0.8}M \\ + -Xmx${(task.memory.toMega() * 0.8).intValue()}M \\ bam \\ -i $bam \\ -o ${prefix}.bam \\