Skip to content
Snippets Groups Projects
Commit 1ec95d4e authored by gael's avatar gael
Browse files

bonjour.nf: further trials, still unclear

parent 0e7aa0a2
No related branches found
No related tags found
No related merge requests found
/* test process */ /* test process */
process write_bonjour_cava { process write_bonjour_cava {
/* publishDir "results/tests/", mode: 'copy' */ /* publishDir "results/tests/", mode: 'copy' */
...@@ -18,13 +17,26 @@ process last_line { ...@@ -18,13 +17,26 @@ process last_line {
publishDir "results/tests/", mode: 'copy' publishDir "results/tests/", mode: 'copy'
input: input:
file textfile from parole val STR from 'voici', 'voila'
output: output:
file "line.txt" into lastline file OUTSTR into line
script: script:
""" template 'bonjour.sh' > $OUTSTR
tail -1 ${textfile} > line.txt
""" }
}
\ No newline at end of file
/* essayer ceci:
*
* script:
* """
* Sweave -nd -lc src/test.Rnw
* """
*
* puis avec des fichiers i/o
*/
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment