From 3ddf2f10ddc2cdb5f2c55450d864c16b0eea7bad Mon Sep 17 00:00:00 2001
From: Ruben Vorderman <r.h.p.vorderman@lumc.nl>
Date: Tue, 6 Mar 2018 10:52:18 +0100
Subject: [PATCH] fix bugs

---
 poretools.wdl | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/poretools.wdl b/poretools.wdl
index 32cc718..fcbaff7 100644
--- a/poretools.wdl
+++ b/poretools.wdl
@@ -22,10 +22,10 @@ task fastq {
     ${"--end " + end } \
     ${"--min-length " + minLength } \
     ${"--max-length " + maxLength } \
-    ${if highQuality then "--high-quality" else ""} \
-    ${if normalQuality then "--normal-quality" else ""} \
+    ${true="--high-quality" false="" highQuality} \
+    ${true="--normal-quality" false="" normalQuality} \
     ${"--group " + group} \
-    ${sep=" " files} ${if gzip then "| gzip " else ""}> ${outputFile}
+    ${sep=" " files} ${true="| gzip " false="" gzip}> ${outputFile}
     }
 
     output {
-- 
GitLab