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 c69d4ad commit 9a23f55Copy full SHA for 9a23f55
nipype/interfaces/afni/preprocess.py
@@ -3773,8 +3773,13 @@ def _list_outputs(self):
3773
3774
if not isdefined(self.inputs.out_file):
3775
prefix = self._gen_fname(self.inputs.in_file, suffix='_QW')
3776
- ext = '.HEAD'
3777
- suffix = '+tlrc'
+ outputtype = self.inputs.outputtype
+ if outputtype == 'AFNI':
3778
+ ext = '.HEAD'
3779
+ suffix = '+tlrc'
3780
+ else:
3781
+ ext = Info.output_type_to_ext(outputtype)
3782
+ suffix = ''
3783
else:
3784
prefix = self.inputs.out_file
3785
ext_ind = max([
0 commit comments