Skip to content
This repository has been archived by the owner on Oct 2, 2020. It is now read-only.

compile example command does not work #75

Open
kblin opened this issue Apr 18, 2016 · 2 comments
Open

compile example command does not work #75

kblin opened this issue Apr 18, 2016 · 2 comments

Comments

@kblin
Copy link

kblin commented Apr 18, 2016

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.

@mr-c
Copy link
Member

mr-c commented Apr 18, 2016

Hey @kblin , thank you for this.

You shouldn't need to use --basedir

@kblin
Copy link
Author

kblin commented Apr 18, 2016

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

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants