Skip to content

Commit 2bf07a0

Browse files
committed
Updated to new template
1 parent 524ae8c commit 2bf07a0

2 files changed

Lines changed: 21 additions & 12 deletions

File tree

boutiques/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# Boutiques descriptors
1+
# Boutiques descriptor
22

33
This directory contains a
44
[Boutiques](https://github.com/boutiques/boutiques) descriptor for the

boutiques/bids-app-example.json

Lines changed: 20 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,58 +1,67 @@
11
{
2-
"name" : "Example BIDS app",
3-
"tool-version" : "0.0.6",
2+
"name" : "example",
3+
"tool-version" : "dev",
44
"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",
66
"container-image": {
77
"type": "docker",
88
"image": "bids/example"
99
},
10-
"schema-version" : "0.4",
10+
"schema-version" : "0.5",
1111
"inputs" : [{
1212
"id" : "bids_dir",
1313
"name" : "BIDS directory",
1414
"type" : "File",
1515
"description" : "The directory with the input dataset formatted according to the BIDS standard.",
16-
"value-key" : "[BIDS_DIR]",
16+
"value-key" : "BIDS_DIR",
1717
"optional" : false
1818

1919
}, {
2020
"id" : "output_dir_name",
2121
"name" : "Output directory name",
2222
"type" : "String",
2323
"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",
2525
"optional" : true
2626
},{
2727
"id" : "participant_level_analysis_dir",
2828
"name" : "Participants dir",
2929
"type" : "File",
3030
"description": "Directory containing the output of the participants analysis.",
31-
"value-key" : "[OUTPUT_DIR_NAME]",
31+
"value-key" : "OUTPUT_DIR",
3232
"optional" : true
3333
},{
3434
"id" : "analysis_level",
3535
"name" : "Analysis level",
3636
"type" : "String",
3737
"optional" : false,
38-
"value-key" : "[ANALYSIS_LEVEL]",
39-
"value-choices" : ["participant", "group"],
38+
"value-key" : "ANALYSIS_LEVEL",
39+
"value-choices" : [ "participant", "group", "session" ],
4040
"description": "Level of the analysis that will be performed. Multiple participant level analyses can be run independently (in parallel)."
4141
}, {
4242
"id" : "participant_label",
4343
"name" : "Participant label",
4444
"type" : "String",
45-
"value-key": "[PARTICIPANT_LABEL]",
45+
"value-key": "PARTICIPANT_LABEL",
4646
"command-line-flag": "--participant_label",
4747
"list" : true,
4848
"optional": true,
4949
"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."
5059
}],
5160
"output-files" : [{
5261
"id" : "output_dir",
5362
"name" : "Output directory",
5463
"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",
5665
"optional" : false
5766
}],
5867
"groups" : [

0 commit comments

Comments
 (0)