We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3f6cbe7 commit 36a947aCopy full SHA for 36a947a
nipype/interfaces/freesurfer/model.py
@@ -755,7 +755,7 @@ def _list_outputs(self):
755
outfile = self.inputs.vol_label_file
756
if not isdefined(outfile):
757
for key in ['label_file', 'annot_file', 'seg_file']:
758
- if isdefined(self.inputs.get()[key]):
+ if isdefined(getattr(self.inputs,key)):
759
_, src = os.path.split(getattr(self.inputs, key))
760
if isdefined(self.inputs.aparc_aseg):
761
src = 'aparc+aseg.mgz'
0 commit comments