Skip to content

Commit 2268366

Browse files
committed
fix: outputs never sets outfile if defined.
1 parent d8ca85a commit 2268366

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

nipype/interfaces/freesurfer/model.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -100,6 +100,7 @@ class MRISPreproc(FSCommand):
100100
def _list_outputs(self):
101101
outputs = self.output_spec().get()
102102
outfile = self.inputs.out_file
103+
outputs['out_file'] = outfile
103104
if not isdefined(outfile):
104105
outputs['out_file'] = os.path.join(os.getcwd(),
105106
'concat_%s_%s.mgz' % (self.inputs.hemi,

0 commit comments

Comments
 (0)