Skip to content

Commit fd1037e

Browse files
committed
Add auto test for TProject, pepify out_file for OneDTool
1 parent 75b66ba commit fd1037e

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

nipype/interfaces/afni/tests/test_auto_TProject.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ def test_TProject_inputs():
2727
usedefault=True,
2828
),
2929
in_file=dict(
30-
argstr='%s',
30+
argstr='-input %s',
3131
copyfile=False,
3232
mandatory=True,
3333
position=1,

nipype/interfaces/afni/utils.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1815,7 +1815,8 @@ def _list_outputs(self):
18151815
os.getcwd(), self.inputs.show_cormat_warnings)
18161816
if isdefined(self.inputs.censor_motion):
18171817
outputs['out_file'] = os.path.join(os.getcwd(),
1818-
self.inputs.censor_motion[1] + '_censor.1D')
1818+
self.inputs.censor_motion[1] +
1819+
'_censor.1D')
18191820
return outputs
18201821

18211822

0 commit comments

Comments
 (0)