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 5d1961c commit ab9eb8dCopy full SHA for ab9eb8d
nipype/interfaces/fsl/maths.py
@@ -4,7 +4,7 @@
4
The maths module provides higher-level interfaces to some of the operations
5
that can be performed with the fslmaths command-line program.
6
"""
7
-
+import os
8
import numpy as np
9
10
from nipype.interfaces.fsl.base import FSLCommand, FSLCommandInputSpec
@@ -39,7 +39,7 @@ class MathsCommand(FSLCommand):
39
40
def _list_outputs(self):
41
outputs = self.output_spec().get()
42
- outputs["out_file"] = self.inputs.out_file
+ outputs["out_file"] = os.path.abspath(self.inputs.out_file)
43
if not isdefined(self.inputs.out_file):
44
outputs["out_file"] = self._gen_fname(self.inputs.in_file, suffix=self._suffix)
45
return outputs
0 commit comments