Skip to content

Commit 7154fab

Browse files
committed
added cmdline example
1 parent 1efb783 commit 7154fab

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

nipype/interfaces/c3.py

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,9 +31,10 @@ class C3dAffineTool(SEMLikeCommandLine):
3131
>>> from nipype.interfaces.c3 import C3dAffineTool
3232
>>> c3 = C3dAffineTool()
3333
>>> c3.inputs.source_file = 'cmatrix.mat'
34-
>>> c3.inputs.itk_transform = True
34+
>>> c3.inputs.itk_transform = 'affine.txt'
3535
>>> c3.inputs.fsl2ras = True
36-
>>> c3.run() #doctest: +SKIP
36+
>>> c3.cmdline
37+
'c3d_affine_tool -src cmatrix.mat -fsl2ras -oitk affine.txt'
3738
"""
3839
input_spec = C3dAffineToolInputSpec
3940
output_spec = C3dAffineToolOutputSpec

0 commit comments

Comments
 (0)