File tree Expand file tree Collapse file tree 2 files changed +8
-6
lines changed
Expand file tree Collapse file tree 2 files changed +8
-6
lines changed Original file line number Diff line number Diff line change @@ -33,6 +33,8 @@ def _chdir(path):
3333 'sub-01_run-01_echo-1_bold.nii.gz' ,
3434 'sub-01_run-01_echo-2_bold.nii.gz' ,
3535 'sub-01_run-01_echo-3_bold.nii.gz' ,
36+ 'xfm0.h5' ,
37+ 'xfm1.h5' ,
3638)
3739
3840
Original file line number Diff line number Diff line change @@ -59,18 +59,18 @@ class ConcatXFMOutputSpec(TraitedSpec):
5959
6060class ConcatXFM (ANTSCommand ):
6161 """
62- Streamed use of antsApplyTransforms to combine nonlinear xfms into a single file
62+ Streamed use of antsApplyTransforms to combine multiple xfms into a single file
6363
6464 Examples
6565 --------
6666
6767 >>> from nibabies.interfaces.patches import ConcatXFM
6868 >>> cxfm = ConcatXFM()
69- >>> cxfm.inputs.transforms = ['xfm1 .h5', 'xfm0 .h5']
70- >>> cxfm.inputs.reference_image = 'sub-01_T1w .nii.gz '
71- >>> cxfm.cmdline
72- 'antsApplyTransforms --output [ concat_xfm.h5, 1 ] --transform .../xfm1.h5 \
73- --transform .../xfm0.h5 --reference_image .../sub-01_T1w.nii.gz '
69+ >>> cxfm.inputs.transforms = [testdir / 'xfm0 .h5', testdir / 'xfm1 .h5']
70+ >>> cxfm.inputs.reference_image = testdir / 'anatomical .nii'
71+ >>> cxfm.cmdline # doctest: +ELLIPSIS +NORMALIZE_WHITESPACE
72+ 'antsApplyTransforms --output [ concat_xfm.h5, 1 ] --reference-image .../anatomical.nii \
73+ --transform .../xfm0.h5 --transform .../xfm1.h5 '
7474
7575 """
7676
You can’t perform that action at this time.
0 commit comments