Running the Nipype smri_ants_registration.py example results in the error:
Interface Registration failed to run.
Running the antsRegistration command generated by the example results in the error:
The number of smoothing sigmas does not match the number of levels.
This command is run with a ANTS SVN trunk build, since this 'new registration' is not yet available in an ANTS release. Tracing the error through ANTS indicates that this is an ANTS smoothing-sigmas option parsing error, which I posted on the ANTS discussion forum.
Setting the example sigma_units to 'mm' rather than 'vox' corrects the problem. Perhaps the smoothing_sigmas option should be adjusted upwards accordingly.
The default antsRegistration smoothing is in physical space, i.e. 'mm'. However, Nipype Registration requires sigma_units. This input should be optional. I will add this fix to my Git fork and submit a pull request. I will also double the smoothing_sigmas values, although I don't know if that is the right adjustment for the test images.
Fred