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 a8dbcc7 commit 3209c42Copy full SHA for 3209c42
nipype/interfaces/ants/legacy.py
@@ -96,8 +96,9 @@ def _list_outputs(self):
96
outputs = self._outputs().get()
97
transmodel = self.inputs.transformation_model
98
99
- # When transform is set as 'RI'/'RA', no wrap fields will be outputed
100
- if isdefined(transmodel) and transmodel not in ['RI', 'RA']:
+ # When transform is set as 'RI'/'RA', wrap fields should not be expected
+ # The default transformation is GR, which outputs the wrap fields
101
+ if not isdefined(transmodel) or (isdefined(transmodel) and transmodel not in ['RI', 'RA']):
102
outputs['warp_field'] = os.path.join(os.getcwd(),
103
self.inputs.out_prefix +
104
'Warp.nii.gz')
0 commit comments