Skip to content

Commit a298cfd

Browse files
committed
fixed abspath
1 parent 31990fd commit a298cfd

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

nipype/interfaces/mrtrix/tracking.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -58,6 +58,8 @@ def _list_outputs(self):
5858
outputs['tract_image'] = self.inputs.out_filename
5959
if not isdefined(outputs['tract_image']):
6060
outputs['tract_image'] = op.abspath(self._gen_outfilename())
61+
else:
62+
outputs['tract_image'] = os.path.abspath(outputs['tract_image'])
6163
return outputs
6264

6365
def _gen_filename(self, name):

0 commit comments

Comments
 (0)