Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

target selection default bug #214

Open
potash opened this issue May 14, 2016 · 2 comments
Open

target selection default bug #214

potash opened this issue May 14, 2016 · 2 comments

Comments

@potash
Copy link

potash commented May 14, 2016

The manual states

By default, in most cases, Drake builds all targets specified in the workflow files. Sometimes it can be useful to specify it explicitly...

I'm confused-- is ... the default or not?

Apparently it is not because I a workflow such that if I run drake I get some "input not found" errors (for inputs which are outputs of steps in the workflow!) but the error goes away when I run drake ....

Unfortunately the workflow is complicated and I have been unsuccessful in creating a simple shareable example. Any thoughts on why drake might fail to find an output while drake ... works? Thanks!

@dirtyvagabond
Copy link
Contributor

@potash apologies, without an example workflow i'm not sure what might be happening here. the best i can do is point you to some historic literature that may be related:
#149

@kenben
Copy link

kenben commented Aug 16, 2016

Here's an example workflow that recreates the problem:

c <- z, b
    cp $INPUT $OUTPUT
a <- x
    cp $INPUT $OUTPUT
b <- y, a
    cp $INPUT $OUTPUT

First running touch x y z, and then drake, I get:

$ drake
java.lang.Exception: no input data found in locations: [...]/./a

However, this workflow runs without a problem if I call drake ....

Alternatively, I can fix this workflow by changing the order of the steps and just calling drake (without ...); this workflow works then:

a <- x
    cp $INPUT $OUTPUT
b <- y, a
    cp $INPUT $OUTPUT
c <- z, b
    cp $INPUT $OUTPUT

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

No branches or pull requests

3 participants