Project

General

Profile

Actions

Bug #9588

closed

[CWL] cwl-runner parses nested arrays repetively

Added by Jiayong Li almost 8 years ago. Updated about 5 years ago.

Status:
Resolved
Priority:
Normal
Assigned To:
Tom Morris
Category:
-
Target version:
-
Story points:
-

Description

nested-array.cwl

cwlVersion: cwl:draft-3
class: CommandLineTool
baseCommand: echo
inputs:
  - id: letters
    type:
      type: array
      items:
        type: array
        items: string
    inputBinding:
      position: 1
outputs: []

nested-array-job.yml
letters: [[a]]

cwl-runner echos 'a' twice:
$ cwl-runner nested-array.cwl nested-array-job.yml 
/home/jiayong/miniconda2/bin/cwl-runner 1.0.20160708190014
[job nested-array.cwl] /tmp/tmpOqjIQT$ echo \
    a \
    a
a a
Final process status is success
{}

Actions

Also available in: Atom PDF