Project

General

Profile

Bug #13931

Updated by Jiayong Li over 6 years ago

Getting the cwl error. 
 <pre> 
 2018-07-30T14:55:20.765294319Z cwltool ERROR: Execution failed: ../../lib/cwl/workflow.json:1:26: Expression evaluation error: 
 2018-07-30T14:55:20.765294319Z ../../lib/cwl/workflow.json:1:26: Syntax error in parameter reference 'inputs.fastq1.size': inputs.fastq1.size does not contain key 'size'. This could be due to using Javascript code without specifying InlineJavascriptRequirement. 
 </pre> 

 cwl script as follows 
 <pre> 
 cwlVersion: v1.0 
 class: CommandLineTool 
 inputs: 
   fastq1: File 
 outputs: 
   out: stdout 
 baseCommand: echo 
 arguments: 
   - $(inputs.fastq1.size) 
 stdout: size.txt 
 </pre> 

 Version 
 <pre> 
 /data-sdd/home/jiayong/envs/acr/bin/arvados-cwl-runner 1.1.4.20180720151136, 
 arvados-python-client 1.1.4.20180720151136, cwltool 1.0.20180615183820 
 </pre>

Back