legacy icon indicating copy to clipboard operation
legacy copied to clipboard

compile example command does not work

Open kblin opened this issue 8 years ago • 2 comments

When trying to run the compile example, the provided command /cwl-runner --basedir ${PWD} compile1.cwl does not work (with cwltool, at least), even when disregarding the leading slash of the command.

Expected output is given in the README.md file, actual output is

$ cwltool --basedir ${PWD} compile1.cwl 
/home/kai/.virtualenvs/cwl/bin/cwltool 1.0.20160413143011
Tool file contains graph of multiple objects, must specify one of #compile, #link, #main

As the README.md file does not explain how to specify an object, a new user is a bit at a loss, and cwltool --help doesn't explain this either.

The README.md file should give $ cwltool --basedir ${PWD} compile1.cwl#main as the command to run.

kblin avatar Apr 18 '16 14:04 kblin

Hey @kblin , thank you for this.

You shouldn't need to use --basedir

mr-c avatar Apr 18 '16 14:04 mr-c

Indeed I don't. I'll send you a pull request with a fix, then

kblin avatar Apr 18 '16 15:04 kblin