Closed
Description
Summary
output paths are not correct: current directory is always used as parent directory and +tlrc
is appended even to nifti outputs
How to replicate the behavior
from nipype.interfaces import afni
a = afni.Qwarp()
a.inputs.in_file = '/tmp/in_file.nii.gz'
a.inputs.base_file = '/tmp/base_file.nii.gz'
a.inputs.out_file = '/tmp/warped.nii.gz'
res = a.run()
print(res.outputs.warped_source)
prints a wrong path
In [20]: /home/salma/CODE/nipype/warped14+tlrc.nii.gz