Skip to content

Commit 307c740

Browse files
committed
fix: clean up spm example
1 parent 7c34113 commit 307c740

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

examples/fmri_spm.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -98,7 +98,7 @@
9898
datasource.inputs.base_directory = data_dir
9999
datasource.inputs.template = '%s/%s.nii'
100100
datasource.inputs.template_args = info
101-
101+
datasource.inputs.sort_filelist = True
102102

103103
"""Use :class:`nipype.interfaces.spm.Realign` for motion correction
104104
and register all images to the mean image.
@@ -194,7 +194,7 @@ def subjectinfo(subject_id):
194194
"""
195195

196196
modelspec = pe.Node(interface=model.SpecifySPMModel(), name= "modelspec")
197-
modelspec.inputs.concatenate_runs = True
197+
modelspec.inputs.concatenate_runs = False
198198
modelspec.inputs.input_units = 'secs'
199199
modelspec.inputs.output_units = 'secs'
200200
modelspec.inputs.time_repetition = 3.

0 commit comments

Comments
 (0)