From f6bf488f35382c6a21095756a96b50fd54b4d818 Mon Sep 17 00:00:00 2001 From: Ruben Vorderman <r.h.p.vorderman@lumc.nl> Date: Wed, 22 Jul 2020 17:09:41 +0200 Subject: [PATCH] correct memory selection --- hisat2.wdl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hisat2.wdl b/hisat2.wdl index a86214f..f9a4bc5 100644 --- a/hisat2.wdl +++ b/hisat2.wdl @@ -81,7 +81,7 @@ task Hisat2 { } runtime { - memory: "~{estimatedMemoryGb}G" + memory: "~{select_first([memoryGb, estimatedMemoryGb])}G" cpu: threads time_minutes: timeMinutes docker: dockerImage -- GitLab