Skip to content

Commit 1be00ab

Browse files
committed
fix transform ordering
1 parent 2869ff3 commit 1be00ab

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

fmriprep/workflows/bold/confounds.py

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -272,6 +272,10 @@ def _pick_wm(files):
272272

273273
def init_carpetplot_wf(mem_gb, metadata, name="bold_confs_wf"):
274274
"""
275+
276+
Resamples the MNI parcellation (ad-hoc parcellation derived from the
277+
Harvard-Oxford template and others).
278+
275279
**Parameters**
276280
277281
mem_gb : float
@@ -330,8 +334,8 @@ def init_carpetplot_wf(mem_gb, metadata, name="bold_confs_wf"):
330334

331335
workflow = pe.Workflow(name=name)
332336
workflow.connect([
333-
(inputnode, mrg_xfms, [('t1_2_mni_reverse_transform', 'in1'),
334-
('t1_bold_xform', 'in2')]),
337+
(inputnode, mrg_xfms, [('t1_bold_xform', 'in1'),
338+
('t1_2_mni_reverse_transform', 'in2')]),
335339
(inputnode, resample_parc, [('bold_mask', 'reference_image')]),
336340
(mrg_xfms, resample_parc, [('out', 'transforms')]),
337341
# Carpetplot

0 commit comments

Comments
 (0)