Skip to content

Commit ede459f

Browse files
author
David Ellis
committed
FIX: Adds import statement to output aseg function.
1 parent 1857064 commit ede459f

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

nipype/workflows/smri/freesurfer/autorecon3.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -614,6 +614,7 @@ def create_AutoRecon3(name="AutoRecon3", qcache=False, plugin_args=None,
614614
# aseg.mgz gets edited in place, so we'll copy and pass it to the
615615
# outputspec once aparc_2_aseg has completed
616616
def out_aseg(in_aparcaseg, in_aseg, out_file):
617+
from .utils import copy_file
617618
out_file = copy_file(in_aseg, out_file)
618619
return out_file
619620
apas_2_aseg = pe.Node(Function(['in_aparcaseg', 'in_aseg', 'out_file'],

0 commit comments

Comments
 (0)