@@ -6,7 +6,7 @@ This example aims at showing provenance traces from a simple [nipype](https://ni
66
77The workflow code is inside ` code/normalize.py ` and performs:
881 . a brain extraction of a T1w anatomical file ` sub-001/anat/sub-001_Tw.nii.gz ` , using BET;
9- 2 . a normalisation to MNI152 of the resulting file, using FLIRT;
9+ 2 . a registration to MNI152 of the resulting file, using FLIRT;
10103 . exporting relevant output files to a BIDS compliant name space.
1111
1212See [ hereafter] ( #running-the-workflow ) for more details on how to run the workflow.
@@ -17,7 +17,6 @@ In order to describe provenance records using BIDS Prov, we use:
1717
1818* the ` GeneratedBy ` field of JSON sidecar files, already existing in the BIDS specification;
1919* modality agnostic files inside the ` derivatives/flirt/prov/ ` directory
20- * a modality agnostic file inside the ` derivatives/flirt/sub-001/anat/prov/ ` directory
2120
2221After running the workflow and adding provenance traces, the resulting directory tree looks like this:
2322
@@ -29,14 +28,13 @@ After running the workflow and adding provenance traces, the resulting directory
2928│ ├── bids_prov_workflow
3029│ └── flirt
3130│ ├── prov
31+ │ │ ├── prov-flirt_act.prov.json
3232│ │ ├── prov-flirt_base.prov.json
3333│ │ ├── prov-flirt_ent.prov.json
3434│ │ ├── prov-flirt_env.prov.json
3535│ │ └── prov-flirt_soft.prov.json
3636│ └── sub-001
3737│ └── anat
38- │ ├── prov
39- │ │ └── sub-001_prov-flirt_act.prov.json
4038│ ├── sub-001_space-mni152nlin2009casym_T1w_brain.json
4139│ ├── sub-001_space-mni152nlin2009casym_T1w_brain.nii.gz
4240│ ├── sub-001_T1w_brain.json
@@ -84,7 +82,7 @@ Assuming we are inside the nipype example directory (`examples/nipype`)
8482``` bash
8583# Get the container and run the workflow
8684docker pull nipype/nipype:py38
87- docker run -u root -it --rm -v .:/work nipype/nipype:py38 python code/normalize .py
85+ docker run -u root -it --rm -v .:/work nipype/nipype:py38 python code/flirt .py
8886```
8987
9088## Limitations / open questions
0 commit comments