Skip to content

Commit 7050d57

Browse files
author
David Ellis
committed
FIX: Changes nipype.Node to pe.Node.
1 parent f3acecc commit 7050d57

File tree

1 file changed

+3
-3
lines changed
  • nipype/workflows/smri/freesurfer

1 file changed

+3
-3
lines changed

nipype/workflows/smri/freesurfer/utils.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -582,7 +582,7 @@ def create_recoding_wf(in_file, out_file=None):
582582
convert_labelmap.inputs.out_file = 'labelmap.nii'
583583
wf.connect([(inputspec, convert_labelmap, [('labelmap', 'in_file')])])
584584

585-
recode = nipype.Node(nipype.Function(['in_file',
585+
recode = pe.Node(nipype.Function(['in_file',
586586
'out_file',
587587
'recode_file'],
588588
['out_file'],
@@ -596,13 +596,13 @@ def create_recoding_wf(in_file, out_file=None):
596596
wf.connect([(convert_labelmap, recode, [('out_file', 'in_file')]),
597597
(inputspec, recode, [('recode_file', 'recode_file')])])
598598

599-
center_labelmap = nipype.Node(nipype.Function(['in_file'], ['out_file'],
599+
center_labelmap = pe.Node(nipype.Function(['in_file'], ['out_file'],
600600
center_volume),
601601
name="CenterLabelMap")
602602

603603
wf.connect([(recode, center_labelmap, [('out_file', 'in_file')])])
604604

605-
outputspec = nipype.Node(nipype.IdentityInterface(['recodedlabelmap']), name="outputspec")
605+
outputspec = pe.Node(nipype.IdentityInterface(['recodedlabelmap']), name="outputspec")
606606

607607
wf.connect([(center_labelmap, outputspec, [('out_file', 'recodedlabelmap')])])
608608
return wf

0 commit comments

Comments
 (0)