From 1ec95d4e791d9c47c733bf214f7984c1b9921c87 Mon Sep 17 00:00:00 2001
From: gael <gael@ornati.biologie.ens-lyon.fr>
Date: Thu, 14 Jun 2018 17:06:43 +0200
Subject: [PATCH] bonjour.nf: further trials, still unclear

---
 src/bonjour.nf | 26 +++++++++++++++++++-------
 1 file changed, 19 insertions(+), 7 deletions(-)

diff --git a/src/bonjour.nf b/src/bonjour.nf
index 2cba0a2..b553787 100644
--- a/src/bonjour.nf
+++ b/src/bonjour.nf
@@ -1,4 +1,3 @@
-
 /* test process */
 process write_bonjour_cava {
   /* publishDir "results/tests/", mode: 'copy' */
@@ -18,13 +17,26 @@ process last_line {
   publishDir "results/tests/", mode: 'copy'
   
   input:
-file textfile from parole
+val STR from 'voici', 'voila'
 
   output:
-file "line.txt" into lastline
+file OUTSTR into line
 
   script:
-"""
-tail -1 ${textfile} > line.txt
-"""
-}
\ No newline at end of file
+template 'bonjour.sh' > $OUTSTR
+
+}
+
+
+/* essayer ceci:
+*
+*  script:
+*  """
+*  Sweave -nd -lc src/test.Rnw 
+*  """
+*
+* puis avec des fichiers i/o
+*/
+
+
+
-- 
GitLab