-
Notifications
You must be signed in to change notification settings - Fork 0
/
convert-url-app.cwl
60 lines (58 loc) · 1.2 KB
/
convert-url-app.cwl
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
cwlVersion: v1.0
$namespaces:
s: https://schema.org/
schemas:
- http://schema.org/version/9.0/schemaorg-current-http.rdf
s:softwareVersion: 0.1.2
$graph:
# Workflow entrypoint
- class: Workflow
id: convert-url
label: convert url image
doc: Applies resize algorithm to selected image
inputs:
fn:
type: string
url:
type: string
size:
type: string
outputs:
- id: wf_outputs
type: Directory[]
outputSource:
- convert/results
steps:
convert:
run: '#convert'
in:
fn: fn
url: url
size: size
out:
- results
- class: CommandLineTool
id: convert
#baseCommand: ['python', '-m', 'convert_image']
inputs:
fn:
type: string
inputBinding:
position: 1
url:
type: string
inputBinding:
position: 2
prefix: --url
size:
type: string
inputBinding:
position: 3
outputs:
results:
type: Directory
outputBinding:
glob: .
requirements:
DockerRequirement:
dockerPull: tjellicoetpzuk/convert_new:latest