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.
2 parents 25f5e2c + b0e194c commit 6f50ee1Copy full SHA for 6f50ee1
nipype/interfaces/fsl/epi.py
@@ -459,7 +459,7 @@ class Eddy(FSLCommand):
459
>>> eddy.cmdline #doctest: +ELLIPSIS
460
'eddy --acqp=epi_acqp.txt --bvals=bvals.scheme --bvecs=bvecs.scheme \
461
--imain=epi.nii --index=epi_index.txt --mask=epi_mask.nii \
462
---out=eddy_corrected'
+--out=.../eddy_corrected'
463
>>> res = eddy.run() # doctest: +SKIP
464
465
"""
@@ -489,6 +489,8 @@ def _num_threads_update(self):
489
def _format_arg(self, name, spec, value):
490
if name == 'in_topup_fieldcoef':
491
return spec.argstr % value.split('_fieldcoef')[0]
492
+ if name == 'out_base':
493
+ return spec.argstr % os.path.abspath(value)
494
return super(Eddy, self)._format_arg(name, spec, value)
495
496
def _list_outputs(self):
0 commit comments