Skip to content

Commit f3acecc

Browse files
author
David Ellis
committed
FIX: Changes nipype.pipeline.Node to pe.Node
1 parent 022352c commit f3acecc

File tree

1 file changed

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

1 file changed

+4
-4
lines changed

nipype/workflows/smri/freesurfer/utils.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -570,12 +570,12 @@ def minimizeSizeOfImage(outlabels):
570570
def create_recoding_wf(in_file, out_file=None):
571571
wf = pe.Workflow(name="RecodeLabels")
572572

573-
inputspec = nipype.pipeline.Node(nipype.IdentityInterface(['labelmap',
574-
'recode_file']),
575-
name="inputspec")
573+
inputspec = pe.Node(niu.IdentityInterface(['labelmap',
574+
'recode_file']),
575+
name="inputspec")
576576
inputspec.inputs.recode_file = in_file
577577

578-
convert_labelmap = nipype.pipeline.Node(fs.MRIConvert(), name="ConvertLabelMap")
578+
convert_labelmap = pe.Node(fs.MRIConvert(), name="ConvertLabelMap")
579579
convert_labelmap.inputs.in_type = 'mgz'
580580
convert_labelmap.inputs.out_type = 'nii'
581581
convert_labelmap.inputs.out_orientation = 'RAS'

0 commit comments

Comments
 (0)