From 8caea82e699644b269d572070e8e01685fd7c1b7 Mon Sep 17 00:00:00 2001
From: DavyCats <davycats.dc@gmail.com>
Date: Wed, 6 Jun 2018 12:48:23 +0200
Subject: [PATCH] fix glob issue

---
 biopet.wdl | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/biopet.wdl b/biopet.wdl
index f9d2a6b..cc3a915 100644
--- a/biopet.wdl
+++ b/biopet.wdl
@@ -88,7 +88,8 @@ task FastqSplitter {
     }
 
     output {
-        Array[File] outputFastqFiles = glob(outputPath + "/chunk_*/" + basename(inputFastq))
+        Array[File] chunkDirs = prefix(outputPath + "/chunk_", chunks)
+        String filename = basename(inputFastq)
     }
 }
 
-- 
GitLab