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 3ee9438 commit b2a8255Copy full SHA for b2a8255
nipype/interfaces/ants/segmentation.py
@@ -701,7 +701,7 @@ def _list_outputs(self):
701
self.inputs.out_prefix +
702
'BrainExtractionBrain.' +
703
self.inputs.image_suffix)
704
- if self.inputs.keep_temporary_files != 0:
+ if isdefined(self.inputs.keep_temporary_files) && self.inputs.keep_temporary_files != 0:
705
outputs['BrainExtractionCSF'] = os.path.join(
706
os.getcwd(),
707
self.inputs.out_prefix + 'BrainExtractionCSF.' + self.inputs.image_suffix
0 commit comments