Skip to content

strip absolute path to input and output files #228

Description

@alperyilmaz

When I run the Drake file under demos/McIlroy, I get the following output:

user@n550:~/tmp/workflow-pipelines/drake/demos/McIlroy$ drake 
Using DRAKE_HOME: /home/user/tmp/workflow-pipelines/drake
Using drip to start up JVM...
The following steps will be run, in order:
  1: /home/user/tmp/workflow-pipelines/drake/demos/McIlroy/././word-freqs.txt <- /home/user/tmp/workflow-pipelines/drake/demos/McIlroy/././book.txt [missing output]
Confirm? [y/n] y
Running 1 steps with concurrence of 1...

--- 0. Running (missing output): /home/user/tmp/workflow-pipelines/drake/demos/McIlroy/././word-freqs.txt <- /home/user/tmp/workflow-pipelines/drake/demos/McIlroy/././book.txt
--- 0: /home/user/tmp/workflow-pipelines/drake/demos/McIlroy/././word-freqs.txt <- /home/user/tmp/workflow-pipelines/drake/demos/McIlroy/././book.txt -> done in 0.07s
Done (1 steps run).

Is it possible to strip paths to files? So that the output looks like:

The following steps will be run, in order:
  1: word-freqs.txt <- book.txt [missing output]
Confirm? [y/n]

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions