Skip to content

Commit c4276d3

Browse files
committed
Fixed failing doctest.
1 parent 7174bfc commit c4276d3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

nipype/interfaces/ants/registration.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -266,7 +266,7 @@ class Registration(ANTSCommand):
266266
>>> reg.inputs.use_histogram_matching = [True, True] # This is the default
267267
>>> reg.inputs.output_warped_image = 't1_average_BRAINSABC_To_template_t1_clipped_INTERNAL_WARPED.nii.gz'
268268
>>> reg.cmdline
269-
'antsRegistration --dimensionality 3 --initial-moving-transform [ trans.mat, 0 ] --output [ t1_average_BRAINSABC_To_template_t1_clipped, t1_average_BRAINSABC_To_template_t1_clipped_INTERNAL_WARPED.nii.gz ] --transform Affine[ 2.0 ] --metric Mattes[ fixed1.nii, moving1.nii, 1, 32 ,Random,0.05 ] --convergence [ 1500x200, 1e-08, 20 ] --smoothing-sigmas 1x0 --shrink-factors 2x1 --use-estimate-learning-rate-once 1 --use-histogram-matching 1 --transform SyN[ 0.25, 3.0, 0.0 ] --metric Mattes[ fixed1.nii, moving1.nii, 1, 32 ] --convergence [ 100x50x30, 1e-09, 20 ] --smoothing-sigmas 2x1x0 --shrink-factors 3x2x1 --use-estimate-learning-rate-once 1 --use-histogram-matching 1 --write-composite-transform 1'
269+
'antsRegistration --dimensionality 3 --initial-moving-transform [ trans.mat, 0 ] --interpolation Linear --output [ t1_average_BRAINSABC_To_template_t1_clipped, t1_average_BRAINSABC_To_template_t1_clipped_INTERNAL_WARPED.nii.gz ] --transform Affine[ 2.0 ] --metric Mattes[ fixed1.nii, moving1.nii, 1, 32 ,Random,0.05 ] --convergence [ 1500x200, 1e-08, 20 ] --smoothing-sigmas 1x0 --shrink-factors 2x1 --use-estimate-learning-rate-once 1 --use-histogram-matching 1 --transform SyN[ 0.25, 3.0, 0.0 ] --metric Mattes[ fixed1.nii, moving1.nii, 1, 32 ] --convergence [ 100x50x30, 1e-09, 20 ] --smoothing-sigmas 2x1x0 --shrink-factors 3x2x1 --use-estimate-learning-rate-once 1 --use-histogram-matching 1 --write-composite-transform 1'
270270
"""
271271
_cmd = 'antsRegistration'
272272
input_spec = RegistrationInputSpec

0 commit comments

Comments
 (0)