I run CWL as cwl-runner bwa_index.cwl index.yml And get ERROR Message as following /Users/yifanwang/Test/CWL_work/venv_cwl/bin/cwl-runner 1.0.20181217162649 Resolved 'bwa_index.cwl' to 'file:///Users/yifanwang/Test/CWL_work/bwa_index.cwl' Workflow error, try again with --debug for more information: Expression evaluation error:
No JSON object could be decoded
script was:
01 "use strict";
02 var inputs = {
03 "block_size": null,
04 "algorithm": null,
05 "reference": {
06 "basename": "reference.fa",
07 "nameroot": "reference",
08 "nameext": ".fa",
09 "location": "file:///Users/yifanwang/Test/CWL_work/reference.fa",
10 "path": "/private/var/folders/1m/zpv1ttyd3klg2ywkv8c_r4z40000gn/T/tmpjboEOm/stg52a9e9c2-5261-4d37-a158-54a58addce79/reference.fa",
11 "dirname": "/private/var/folders/1m/zpv1ttyd3klg2ywkv8c_r4z40000gn/T/tmpjboEOm/stg52a9e9c2-5261-4d37-a158-54a58addce79",
12 "class": "File",
13 "size": 3249912778
14 }
15 };
16 var self = null;
17 var runtime = {
18 "outdirSize": 1024,
19 "ram": 1024,
20 "cores": 1,
21 "tmpdirSize": 1024,
22 "tmpdir": "/private/var/folders/1m/zpv1ttyd3klg2ywkv8c_r4z40000gn/T/tmp4QfOHd",
23 "outdir": "/private/tmp/docker_tmpIRpon0"
24 };
25 (function(){return ((inputs.sequences));})()
stdout was: 'undefined'
stderr was: ''
Thanks for your answer, it worked
You're welcome! Please use the checkmark-button on the left to "accept" the answer, so the thread will be marked as solved.