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 f6b49f5 commit 14027c5Copy full SHA for 14027c5
nipype/interfaces/fsl/epi.py
@@ -1389,7 +1389,7 @@ def _list_outputs(self):
1389
# If the output directory isn't defined, the interface seems to use
1390
# the default but not set its value in `self.inputs.output_dir`
1391
if not isdefined(self.inputs.output_dir):
1392
- out_dir = os.path.abspath(self.inputs.base_name + '.qc.nii.gz')
+ out_dir = os.path.abspath(os.path.basename(self.inputs.base_name) + '.qc.nii.gz')
1393
else:
1394
out_dir = os.path.abspath(self.inputs.output_dir)
1395
0 commit comments