cwl_utils/testdata/extensions/inplace-update-requirement_v1_0.cwl
raw| 1 | #!/usr/bin/env cwl-runner |
| 2 | class: CommandLineTool |
| 3 | cwlVersion: v1.0 |
| 4 | $namespaces: |
| 5 | cwltool: "http://commonwl.org/cwltool#" |
| 6 | requirements: |
| 7 | cwltool:InplaceUpdateRequirement: |
| 8 | inplaceUpdate: true |
| 9 | inputs: |
| 10 | r: File |
| 11 | script: |
| 12 | type: File |
| 13 | default: |
| 14 | class: File |
| 15 | location: updateval.py |
| 16 | outputs: |
| 17 | out: |
| 18 | type: File |
| 19 | outputBinding: |
| 20 | glob: $(inputs.r.basename) |
| 21 | arguments: [python, $(inputs.script), $(inputs.r.basename)] |