Skip to content

target selection default bug #214

Open

Description

@potash

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!

Activity

  1. dirtyvagabond commented on May 17, 2016

    @dirtyvagabond
    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

  2. kenben commented on Aug 16, 2016

    @kenben

    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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions