composer icon indicating copy to clipboard operation
composer copied to clipboard

Allow stdout, stderr as output types

Open multimeric opened this issue 7 years ago • 5 comments

CWL 1.0 lets you do something like:

outputs:
  an_output_name:
    type: stdout

stdout: a_stdout_file

Which is much more concise than

outputs:
  an_output_name:
    type: File
    streamable: true
    outputBinding:
      glob: a_stdout_file

stdout: a_stdout_file

It is explained here in the spec: https://www.commonwl.org/v1.0/CommandLineTool.html#stdout

Could something like this be implemented?

multimeric avatar May 16 '18 04:05 multimeric

Common Workflow Language User Guide: Environment Variables requires stdout .

Hopefully rabix composer support stdout

manabuishii avatar Nov 13 '18 11:11 manabuishii

@TMiguelT Concise is better lets do this 👍 @manabuishii ah interesting ... Composer does the right thing when parsing the pasted in CWL, but does not have an option in the type dropdown. So you can't do that from the UI.

ghost avatar Nov 15 '18 19:11 ghost

  • [ ] Switch to more concise syntax for some constructs
  • [ ] Allow stdout as output type on UI

ghost avatar Nov 15 '18 19:11 ghost

This is really urgent and is negatively affecting many users resulting in error messages when reusing CWL definitions that work (and are valid) elsewhere. What is the ETA for a fix?

mr-c avatar Apr 10 '19 06:04 mr-c

@mr-c please elaborate on "resulting in error messages when reusing CWL definitions that work (and are valid) elsewhere" when I paste in the code in the code pane, composer does the right thing.

ghost avatar Apr 10 '19 08:04 ghost