Project

General

Profile

Bug #9588

Updated by Jiayong Li almost 8 years ago

_nested-array.cwl_ 
 <pre> 
 cwlVersion: cwl:draft-3 
 class: CommandLineTool 
 baseCommand: echo 
 inputs: 
   - id: letters 
     type: 
       type: array 
       items: 
         type: array 
         items: string 
     inputBinding: 
       position: 1 
 outputs: [] 
 </pre> 
 _nested-array-job.yml_ 
 <pre> 
 letters: [[a]] 
 </pre> 
 <pre> 
 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 
 {} 
 </pre> 

Back