Skip to content

Commit 36a947a

Browse files
committed
fix: label2vol mistake
1 parent 3f6cbe7 commit 36a947a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

nipype/interfaces/freesurfer/model.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -755,7 +755,7 @@ def _list_outputs(self):
755755
outfile = self.inputs.vol_label_file
756756
if not isdefined(outfile):
757757
for key in ['label_file', 'annot_file', 'seg_file']:
758-
if isdefined(self.inputs.get()[key]):
758+
if isdefined(getattr(self.inputs,key)):
759759
_, src = os.path.split(getattr(self.inputs, key))
760760
if isdefined(self.inputs.aparc_aseg):
761761
src = 'aparc+aseg.mgz'

0 commit comments

Comments
 (0)