common-workflow-language / common-workflow-language/cwltool
CLT input format field with expression generates spurius warning
- Dominant language
- Python
- Stars
- 376
- Forks
- 255
- Avg merge
- 2d 7h
- Merged PRs (30d)
- 12
Description
```
URI prefix '${ return ["http' of '${ return ["http://edamontology.org/format_2330"];}
' not recognized, are you missing a $namespaces section?
```
``` cwl
#!/usr/bin/env cwl-runner
$namespaces:
edam: "http://edamontology.org/"
cwlVersion: v1.0
class: CommandLineTool
requirements:
InlineJavascriptRequirement: {}
doc: "Reverse each line using the `rev` command"
inputs:
input:
type: File
inputBinding: {}
format: |
${ return ["http://edamontology.org/format_2330"];}
outputs:
output:
type: File
outputBinding:
glob: output.txt
format: |
${return "http://edamontology.org/format_2330";}
baseCommand: rev
stdout: output.txt
Contributor guide
Assessment
This issue has not been assessed yet.