census_write.cwl

 1#! cwl-runner
 2
 3cwlVersion: v1.1
 4class: CommandLineTool
 5baseCommand: [python, -m, census.write_data]
 6
 7inputs:
 8  log:
 9    type: File
10    default:
11      class: File
12      location: census.log
13    inputBinding:
14      prefix: --log
15  in_pkl:
16    type: File
17    default:
18      class: File
19      location: census.pkl
20    inputBinding:
21      prefix: --in_pkl
22  out_file:
23    type: string
24    default: "census.csv"
25    inputBinding:
26      prefix: --out_file
27  schema_name:
28    type: string
29    default: "census_schema.yml"
30    inputBinding:
31      prefix: --schema_name
32  table_name:
33    type: string?
34    inputBinding:
35      prefix: --table_name
36
37outputs:
38  data:
39    type: File[]
40    outputBinding:
41      glob: $(inputs.out_file)
42  schema:
43    type: File
44    outputBinding:
45      glob: $(inputs.schema_name)