Skip to content

Commit 0eb52cf

Browse files
author
Mathieu Dubois
committed
WIP Updates in examples/fmri_ants_openfmri.py
1 parent e6994e6 commit 0eb52cf

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

examples/fmri_ants_openfmri.py

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,12 @@
1010
This script demonstrates how to use nipype to analyze a data set::
1111
1212
python fmri_ants_openfmri.py --datasetdir ds107
13+
14+
This workflow also requires 2mm subcortical templates that are available from
15+
`MindBoggle <http://mindboggle.info/data.html>`_.
16+
Specifically the 2mm version of the `MNI template <http://mindboggle.info/data/templates/atropos/OASIS-30_Atropos_template_in_MNI152_2mm.nii.gz>`_.
17+
18+
Import necessary modules from nipype.
1319
"""
1420

1521
from nipype import config
@@ -672,7 +678,7 @@ def analyze_openfmri_dataset(data_dir, subject=None, model_id=None,
672678
datasource.inputs.template = '*'
673679

674680
if has_contrast:
675-
datasource.inputs.field_template = {'anat': '%s/anatomy/T1_001.nii.gz',
681+
datasource.inputs.field_template = {'anat': '%s/anatomy/highres001.nii.gz',
676682
'bold': '%s/BOLD/task%03d_r*/bold.nii.gz',
677683
'behav': ('%s/model/model%03d/onsets/task%03d_'
678684
'run%03d/cond*.txt'),

0 commit comments

Comments
 (0)