Skip to content

Commit bb7e25e

Browse files
committed
Merge pull request #425 from bpinsard/fix/spm
bug in output filename format
2 parents 5d1961c + 8050b56 commit bb7e25e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

nipype/interfaces/spm/preprocess.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -738,7 +738,7 @@ def _list_outputs(self):
738738

739739
if isdefined(self.inputs.channel_info):
740740
if self.inputs.channel_info[2][0]:
741-
outputs['bias_corrected_images'].append(os.path.join(pth, "m%s%.nii" % (base)))
741+
outputs['bias_corrected_images'].append(os.path.join(pth, "m%s.nii" % (base)))
742742
if self.inputs.channel_info[2][1]:
743743
outputs['bias_field_images'].append(os.path.join(pth, "BiasField_%s.nii" % (base)))
744744
return outputs

0 commit comments

Comments
 (0)