Skip to content

Commit 1ceaae0

Browse files
committed
Update example with new usage of command
1 parent dc9de43 commit 1ceaae0

File tree

4 files changed

+4
-33
lines changed

4 files changed

+4
-33
lines changed

examples/clinica_pipelines/adni-to-bids.jsonld

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -12,12 +12,7 @@
1212
{
1313
"@id": "uuid:38133b39-f2fe-4746-aa3c-e3eca1b8abb4",
1414
"label": "adni-to-bids",
15-
"command": "clinica convert adni-to-bids src clinical_data bids ",
16-
"parameters": {
17-
"src": "/path/adni_dir",
18-
"clinical_data": "/path/clinical/data/",
19-
"bids": "/path/to/bids"
20-
},
15+
"command": "clinica convert adni-to-bids path/to/adni/raw path/to/clinical_data path/to/bids",
2116
"wasAssociatedWith": "RRID:Clinica",
2217
"used": "uuid:0c18a16e-11e9-42cf-b004-019bc6aaa76b"
2318
}

examples/clinica_pipelines/readme.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
from the root of this project
1616

1717
```bash
18-
python bids_prov/visualize.py examples/clinica_pipelines/adni-to-bids.json examples/clinica_pipelines/t1linear-mat.json examples/clinica_pipelines/t1linear-nii.json -o clinica_pipelines.png
18+
python bids_prov/visualize.py examples/clinica_pipelines/adni-to-bids.jsonld examples/clinica_pipelines/t1linear_mat.jsonld examples/clinica_pipelines/t1linear_nii.jsonld -o clinica_pipelines.png
1919
```
2020

2121
generates the graph illustrating the provenance of files related to two Clinica pipelines (adni-to-bids and t1-linear)

examples/clinica_pipelines/t1linear_mat.jsonld

Lines changed: 1 addition & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -10,19 +10,7 @@
1010
{
1111
"@id": "uuid:2c2964f2-f865-41cc-a4e9-5d4f4ecaec13",
1212
"label": "t1-linear",
13-
"command": [
14-
[
15-
"run",
16-
"t1-linear",
17-
"/path/to/bids",
18-
"ws/CAPS_t1linear",
19-
"-np",
20-
"4",
21-
"-tsv",
22-
"subjects.tsv",
23-
"-ui"
24-
]
25-
],
13+
"command": "run t1-linear /path/to/bids ws/CAPS_t1linear -np 4 -tsv subjects.tsv -ui",
2614
"parameters": {
2715
"uncropped_image": true
2816
},

examples/clinica_pipelines/t1linear_nii.jsonld

Lines changed: 1 addition & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -10,19 +10,7 @@
1010
{
1111
"@id": "uuid:2c2964f2-f865-41cc-a4e9-5d4f4ecaec13",
1212
"label": "t1-linear",
13-
"command": [
14-
[
15-
"run",
16-
"t1-linear",
17-
"/path/to/bids",
18-
"ws/CAPS_t1linear",
19-
"-np",
20-
"4",
21-
"-tsv",
22-
"subjects.tsv",
23-
"-ui"
24-
]
25-
],
13+
"command": "clinica run t1-linear /path/to/bids ws/CAPS_t1linear -np 4 -tsv subjects.tsv -ui",
2614
"parameters": {
2715
"uncropped_image": true
2816
},

0 commit comments

Comments
 (0)