From 87c6a225c87c662bba8240e5bdff7500403b5120 Mon Sep 17 00:00:00 2001 From: Chris Filo Gorgolewski Date: Sun, 7 Aug 2016 12:00:46 -0700 Subject: [PATCH 1/2] Added boutiques description --- boutiques.json | 68 ++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 68 insertions(+) create mode 100644 boutiques.json diff --git a/boutiques.json b/boutiques.json new file mode 100644 index 0000000..b07f7b1 --- /dev/null +++ b/boutiques.json @@ -0,0 +1,68 @@ +{ + "name": "example", + "tool-version": "0.2", + "description": "Example BIDS App", + "command-line": "run.py BIDS_DIR OUTPUT_DIR ANALYSIS_LEVEL PARTICIPANT_LABEL", + "docker-image": "bids/example", + "docker-index": "http://index.docker.io", + "schema-version": "0.3" + "inputs": [ + { + "id": "bids_dir", + "name": "Dataset path", + "type": "String", + "description": "Path to the input dataset formatted in BIDS", + "command-line-key": "BIDS_DIR", + "list": false, + "optional": false, + "integer": false + }, + { + "id": "output_dir", + "name": "Output directory", + "type": "String", + "description": "Path to the folder where the outputs will be stored", + "command-line-key": "OUTPUT_DIR", + "list": false, + "optional": false, + "integer": false + }, + { + "id": "analysis_level", + "name": "Analysis level", + "type": "Enum", + "description": "Which level the analysis should be performed at.", + "command-line-key": "ANALYSIS_LEVEL", + "list": false, + "optional": false, + "command-line-flag-separator": " ", + "enum-value-choices": [ + "participant", + "group" + ], + "integer": false + }, + { + "id": "participant_label", + "name": "Participant label", + "type": "String", + "description": "Restrict the analysis to the following participants", + "command-line-key": "PARTICIPANT_LABEL", + "list": true, + "optional": true, + "command-line-flag": "--participant_label", + "integer": false, + "min-list-entries": 1 + } + ], + "output-files": [ + { + "id": "output_dir", + "name": "Output directory", + "description": "Output directory", + "command-line-key": "OUTPUT_DIR", + "list": false, + "optional": false + } + ] +} From 32a999b6b5565f5e5fcd5660eca5ec6df8a60006 Mon Sep 17 00:00:00 2001 From: Chris Filo Gorgolewski Date: Sun, 7 Aug 2016 12:01:12 -0700 Subject: [PATCH 2/2] fixed a typo --- boutiques.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/boutiques.json b/boutiques.json index b07f7b1..c3c29aa 100644 --- a/boutiques.json +++ b/boutiques.json @@ -5,7 +5,7 @@ "command-line": "run.py BIDS_DIR OUTPUT_DIR ANALYSIS_LEVEL PARTICIPANT_LABEL", "docker-image": "bids/example", "docker-index": "http://index.docker.io", - "schema-version": "0.3" + "schema-version": "0.3", "inputs": [ { "id": "bids_dir",