File tree Expand file tree Collapse file tree 4 files changed +4
-33
lines changed
examples/clinica_pipelines Expand file tree Collapse file tree 4 files changed +4
-33
lines changed Original file line number Diff line number Diff line change 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 }
Original file line number Diff line number Diff line change 1515from 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
2121generates the graph illustrating the provenance of files related to two Clinica pipelines (adni-to-bids and t1-linear)
Original file line number Diff line number Diff line change 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 } ,
Original file line number Diff line number Diff line change 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 } ,
You can’t perform that action at this time.
0 commit comments