Skip to content

Commit d229372

Browse files
gpiantonioesteban
authored andcommitted
fix typo in parsing extension of out_file for Qwarp
1 parent 9a23f55 commit d229372

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

nipype/interfaces/afni/preprocess.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3784,7 +3784,7 @@ def _list_outputs(self):
37843784
prefix = self.inputs.out_file
37853785
ext_ind = max([
37863786
prefix.lower().rfind('.nii.gz'),
3787-
prefix.lower().rfind('.nii.')
3787+
prefix.lower().rfind('.nii')
37883788
])
37893789
if ext_ind == -1:
37903790
ext = '.HEAD'

0 commit comments

Comments
 (0)