Skip to content

Ep21: incorrect command output #213

@gcapes

Description

@gcapes

The output box under the diagram shows

$ cwl-runner 1st-workflow.cwl 1st-workflow-job.yml
[job untar] /tmp/tmp94qFiM$ tar --create --file /home/example/hello.tar Hello.java
[step untar] completion status is success

However, this example is to extract a file, so it was confusing to see the --create option. I gave up trying to figure out where that came from because when I run the command cwl-runner 1st-workflow.cwl 1st-workflow-job.yml , the output I get shows the --extract option which is in keeping with the example.

/usr/bin/cwl-runner 1.0.20180302231433
Resolved '1st-workflow.cwl' to 'file:///home/mbexegc2/Documents/projects/bioexcel/cwl-user-guide/1st-workflow.cwl'
[workflow 1st-workflow.cwl] start
[step untar] start
[job untar] /tmp/tmpp8SZWV$ tar \
    --extract \
    --file \
    /tmp/tmpj4RAQZ/stgac7434e2-c15e-4047-900a-9878a0f943f5/hello.tar \
    Hello.java
[job untar] completed success
[step untar] completed success

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