Giter VIP home page Giter VIP logo

Comments (4)

pditommaso avatar pditommaso commented on May 19, 2024

Hi Samuel,

Oops, yes, you are right. The declared file name does not match with the
one created.

I've just fixed it

http://docs.nextflow.io/en/latest/process.html#output-files

Thanks a lot for reporting that.

Cheers,
Paolo

On Fri, Aug 22, 2014 at 2:46 PM, Samuel Lampa [email protected]
wrote:

The code example in the output files section on the process page
https://github.com/nextflow-io/nextflow/blob/master/docs/process.rst#output-files
does not work.

The code xample in question:

process randomNum {

output:
file 'result.txt' into numbers

''' echo $RANDOM > result '''}
numbers.subscribe { println "Received: " + it.text }

When executed, I get:

[14:45:53] ~/code/test/nextflow $ nextflow run randomnum.nf
Picked up _JAVA_OPTIONS: -Dawt.useSystemAAFontSettings=lcd_hrgb -Dswing.aatext=true -Dsun.java2d.xrender=true
N E X T F L O W ~ version 0.9.0[warm up] executor > local[47/583d32] Submitted process > randomNum (1)
ERROR: Error executing process > 'randomNum (1)'

Caused by:
Missing output file: 'result.txt' expected by process: randomNum (1)

Command executed:

echo $RANDOM > result

Command exit status:
0

Command output:
(empty)

Work dir:
/home/samuel/code/test/nextflow/work/47/583d329642c9b78d65fadaabf6637a

Tip: view the complete command output by changing to the process work dir and entering the command: 'cat .command.out'


Reply to this email directly or view it on GitHub
#11.

from nextflow.

samuell avatar samuell commented on May 19, 2024

Cool, thx!

from nextflow.

pditommaso avatar pditommaso commented on May 19, 2024

This was easy ;)

On Fri, Aug 22, 2014 at 3:03 PM, Samuel Lampa [email protected]
wrote:

Cool, thx!


Reply to this email directly or view it on GitHub
#11 (comment).

from nextflow.

samuell avatar samuell commented on May 19, 2024

But fast fixed, nonetheless :)

from nextflow.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.