1 #!/usr/bin/env cwl-runner
4 - '$(inputs.inp ? inputs.inp.path : inputs.inpdir.path+''/''+inputs.inpfile)'
28 glob: $(outname(inputs))
31 - class: DockerRequirement
32 dockerPull: commonworkflowlanguage/cwlex
33 - class: InlineJavascriptRequirement
37 function outname(inputs) {
38 return inputs.outname ? inputs.outname : (inputs.inp ? inputs.inp.nameroot+'.cwl' : inputs.inpfile.replace(/(.*).cwlex/, '$1.cwl'));
40 stdout: $(outname(inputs))