From b7ed141acf0b5e1f49333a2fa2998e3fe7066238 Mon Sep 17 00:00:00 2001
From: Laurent Modolo <laurent.modolo@ens-lyon.fr>
Date: Fri, 8 Oct 2021 14:23:08 +0200
Subject: [PATCH] danpos: rm pattern selection for publishDir

---
 src/nf_modules/danpos/main.nf | 14 +++++++-------
 1 file changed, 7 insertions(+), 7 deletions(-)

diff --git a/src/nf_modules/danpos/main.nf b/src/nf_modules/danpos/main.nf
index b17d67b9..1a9d009c 100644
--- a/src/nf_modules/danpos/main.nf
+++ b/src/nf_modules/danpos/main.nf
@@ -13,7 +13,7 @@ process dpos_bam {
   label "big_mem_mono_cpus"
   tag "$file_id"
   if (params.dpos_out != "") {
-    publishDir "results/${params.dpos_out}", mode: 'copy', pattern: "*/*"
+    publishDir "results/${params.dpos_out}", mode: 'copy'
   }
 
   input:
@@ -67,7 +67,7 @@ process dpos_wig {
   label "big_mem_mono_cpus"
   tag "$file_id"
   if (params.dpos_out != "") {
-    publishDir "results/${params.dpos_out}", mode: 'copy', pattern: "*/*"
+    publishDir "results/${params.dpos_out}", mode: 'copy'
   }
 
   input:
@@ -126,7 +126,7 @@ process dpos_wigvswig {
   label "big_mem_mono_cpus"
   tag "$file_id"
   if (params.dpos_out != "") {
-    publishDir "results/${params.dpos_out}", mode: 'copy', pattern: "*/*"
+    publishDir "results/${params.dpos_out}", mode: 'copy'
   }
 
   input:
@@ -172,8 +172,8 @@ process dpeak_bam {
   container = "${container_url}"
   label "big_mem_mono_cpus"
   tag "$file_id"
-  if (params.dpeak_out != "") {
-    publishDir "results/${params.dpeak_out}", mode: 'copy', pattern: "*/*"
+  if (params.dpeak_out != "") {:
+    publishDir "results/${params.dpeak_out}", mode: 'copy'
   }
 
   input:
@@ -228,7 +228,7 @@ process dpeak_wig {
   label "big_mem_mono_cpus"
   tag "$file_id"
   if (params.dpeak_out != "") {
-    publishDir "results/${params.dpeak_out}", mode: 'copy', pattern: "*/*"
+    publishDir "results/${params.dpeak_out}", mode: 'copy'
   }
 
   input:
@@ -288,7 +288,7 @@ process dpeak_wigvswig {
   label "big_mem_mono_cpus"
   tag "$file_id"
   if (params.dpeak_out != "") {
-    publishDir "results/${params.dpeak_out}", mode: 'copy', pattern: "*/*"
+    publishDir "results/${params.dpeak_out}", mode: 'copy'
   }
 
   input:
-- 
GitLab