|
1 | 1 | { |
2 | | - "name" : "Example BIDS app", |
3 | | - "tool-version" : "0.0.6", |
| 2 | + "name" : "example", |
| 3 | + "tool-version" : "dev", |
4 | 4 | "description" : "See https://github.com/BIDS-Apps/example", |
5 | | - "command-line" : "mkdir -p [OUTPUT_DIR_NAME]; /run.py [BIDS_DIR] [OUTPUT_DIR_NAME] [ANALYSIS_LEVEL] [PARTICIPANT_LABEL]", |
| 5 | + "command-line" : "mkdir -p OUTPUT_DIR; /run.py BIDS_DIR OUTPUT_DIR ANALYSIS_LEVEL PARTICIPANT_LABEL SESSION_LABEL", |
6 | 6 | "container-image": { |
7 | 7 | "type": "docker", |
8 | 8 | "image": "bids/example" |
9 | 9 | }, |
10 | | - "schema-version" : "0.4", |
| 10 | + "schema-version" : "0.5", |
11 | 11 | "inputs" : [{ |
12 | 12 | "id" : "bids_dir", |
13 | 13 | "name" : "BIDS directory", |
14 | 14 | "type" : "File", |
15 | 15 | "description" : "The directory with the input dataset formatted according to the BIDS standard.", |
16 | | - "value-key" : "[BIDS_DIR]", |
| 16 | + "value-key" : "BIDS_DIR", |
17 | 17 | "optional" : false |
18 | 18 |
|
19 | 19 | }, { |
20 | 20 | "id" : "output_dir_name", |
21 | 21 | "name" : "Output directory name", |
22 | 22 | "type" : "String", |
23 | 23 | "description": "The directory where the output files should be stored. If you are running a group level analysis, this folder should be prepopulated with the results of the participant level analysis.", |
24 | | - "value-key" : "[OUTPUT_DIR_NAME]", |
| 24 | + "value-key" : "OUTPUT_DIR", |
25 | 25 | "optional" : true |
26 | 26 | },{ |
27 | 27 | "id" : "participant_level_analysis_dir", |
28 | 28 | "name" : "Participants dir", |
29 | 29 | "type" : "File", |
30 | 30 | "description": "Directory containing the output of the participants analysis.", |
31 | | - "value-key" : "[OUTPUT_DIR_NAME]", |
| 31 | + "value-key" : "OUTPUT_DIR", |
32 | 32 | "optional" : true |
33 | 33 | },{ |
34 | 34 | "id" : "analysis_level", |
35 | 35 | "name" : "Analysis level", |
36 | 36 | "type" : "String", |
37 | 37 | "optional" : false, |
38 | | - "value-key" : "[ANALYSIS_LEVEL]", |
39 | | - "value-choices" : ["participant", "group"], |
| 38 | + "value-key" : "ANALYSIS_LEVEL", |
| 39 | + "value-choices" : [ "participant", "group", "session" ], |
40 | 40 | "description": "Level of the analysis that will be performed. Multiple participant level analyses can be run independently (in parallel)." |
41 | 41 | }, { |
42 | 42 | "id" : "participant_label", |
43 | 43 | "name" : "Participant label", |
44 | 44 | "type" : "String", |
45 | | - "value-key": "[PARTICIPANT_LABEL]", |
| 45 | + "value-key": "PARTICIPANT_LABEL", |
46 | 46 | "command-line-flag": "--participant_label", |
47 | 47 | "list" : true, |
48 | 48 | "optional": true, |
49 | 49 | "description": "The label(s) of the participant(s) that should be analyzed. The label corresponds to sub-<participant_label> from the BIDS spec (so it does not include \"sub-\"). If this parameter is not provided all subjects will be analyzed. Multiple participants can be specified with a space separated list." |
| 50 | + }, { |
| 51 | + "id" : "session_label", |
| 52 | + "name" : "Session label", |
| 53 | + "type" : "String", |
| 54 | + "value-key": "SESSION_LABEL", |
| 55 | + "command-line-flag": "--session_label", |
| 56 | + "list" : true, |
| 57 | + "optional": true, |
| 58 | + "description": "The label(s) of the session(s) that should be analyzed. The label corresponds to ses-<session_label>, an extension of the BIDS spec (so it does not include \"ses-\"). If this parameter is not provided all sessions will be analyzed. Multiple sessions can be specified with a space separated list." |
50 | 59 | }], |
51 | 60 | "output-files" : [{ |
52 | 61 | "id" : "output_dir", |
53 | 62 | "name" : "Output directory", |
54 | 63 | "description": "The directory where the output files should be stored. If you are running a group level analysis, this folder should be prepopulated with the results of the participant level analysis.", |
55 | | - "path-template" : "[OUTPUT_DIR_NAME]", |
| 64 | + "path-template" : "OUTPUT_DIR", |
56 | 65 | "optional" : false |
57 | 66 | }], |
58 | 67 | "groups" : [ |
|
0 commit comments