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 1073bc0 commit 1ddd084Copy full SHA for 1ddd084
nipype/interfaces/image.py
@@ -57,7 +57,8 @@ def _run_interface(self, runtime):
57
58
# Image may be reoriented
59
if reoriented is not orig_img:
60
- out_name = fname_presuffix(fname, suffix='_ras',
+ suffix = '_' + self.inputs.orientation.lower()
61
+ out_name = fname_presuffix(fname, suffix=suffix,
62
newpath=runtime.cwd)
63
reoriented.to_filename(out_name)
64
else:
0 commit comments