-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path5-json_metadata_transfer_tool.cwl
46 lines (37 loc) · 1.45 KB
/
5-json_metadata_transfer_tool.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
cwlVersion: v1.0
class: CommandLineTool
baseCommand: ["python3", "/home/afshar87/afshari/simulation/simulation_auto/cwl_workflow/5-json_metadata_transfer.py"]
inputs:
json_file_path:
type: string
inputBinding:
prefix: "--json_file_path" # Pass the directory as a command-line argument
# loadContents: true # pass the contents of the file or directory as input, not just their paths.
api_key_file:
type: File
inputBinding:
prefix: "--api_key_file" # Pass the file as a command-line argument
# loadContents: true # pass the contents of the file or directory as input, not just their paths.
upload_type:
type: string
inputBinding:
prefix: "--upload_type"
default: "PIConGPU" # Default value if not specified
username:
type: string
inputBinding:
prefix: "--username"
default: "afshar87" # Default value if not specified
description:
type: string
inputBinding:
prefix: "--description" # Passes the description as a command-line argument
keywords:
type: "string[]"
inputBinding:
prefix: "--keywords" # Prefix used to handle the list as separate arguments
separate: true # Correctly specify 'true' to separate the list items into individual arguments
outputs:
setup_log:
type: stdout # Capture the output log from stdout
stdout: output_upload_metadata.txt # Redirect standard output to this file