composer icon indicating copy to clipboard operation
composer copied to clipboard

Optionally allow dictionary yaml syntax

Open multimeric opened this issue 7 years ago • 0 comments

Many fields in CWL can be specified either as a dictionary, or as an array. For example, steps in a workflow could be

  bwa:
    in: {}
    out: {}
    run: ''

  sort:
    in: {}
    out: {}
    run: ''

or they could be

  - id: bwa
    in: {}
    out: {}
    run: ''

  - id: sort:
    in: {}
    out: {}
    run: ''

Rabix automatically converts the dictionary form to the list form in all cases. Could it be possible to have a setting that configures which YAML output we would like? The dictionary is more concise in most cases, and I would like this option so that it doesn't change the structure of my hand-written CWL.

multimeric avatar May 30 '18 01:05 multimeric