Skip to content

Commit 6600733

Browse files
author
dmordom
committed
Fixed typos and paths
1 parent 8fc22f5 commit 6600733

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

nipype/interfaces/freesurfer/utils.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ class SampleToSurfaceInputSpec(FSTraitedSpec):
3939

4040
hemi = traits.Enum("lh", "rh", mandatory=True, argstr="--hemi %s",
4141
desc="target hemisphere")
42-
surface = traits.String(argstr="--surf", desc="target surface (default is white)")
42+
surface = traits.String(argstr="--surf %s", desc="target surface (default is white)")
4343

4444
reg_xors = ["reg_file", "reg_header", "mni152reg"]
4545
reg_file = File(exists=True, argstr="--reg %s", mandatory=True, xor=reg_xors,
@@ -200,7 +200,7 @@ def _get_outfilename(self, opt="out_file"):
200200

201201
def _list_outputs(self):
202202
outputs = self._outputs().get()
203-
outputs["out_file"] = self._get_outfilename()
203+
outputs["out_file"] = os.path.abspath(self._get_outfilename())
204204
hitsfile = self.inputs.hits_file
205205
if isdefined(hitsfile):
206206
outputs["hits_file"] = hitsfile

0 commit comments

Comments
 (0)