Skip to content

TraitError with 'transform0DerivedInitialMovingTranslation.mat' not found #944

@sgiavasis

Description

@sgiavasis

Hi guys,

I'm running antsRegistration on the latest Nipype (Master branch, commit 4d855cb) using the parameter initial-moving-transform-com, set to 0:

antsRegistration --collapse-linear-transforms-to-fixed-image-header 0 --collapse-output-transforms 0 --dimensionality 3 --initial-moving-transform [ {reference}, {input}, 0 ] .... etc.

In the node's folder in the working directory, I'm getting every warp file I would get if I ran the same command from terminal:
transform0DerivedInitialMovingTranslation.mat
transform1Rigid.mat
transform2Affine.mat
transform3InverseWarp.nii.gz
transform3Warp.nii.gz

However, upon completion of the command, Nipype throws this error:

TraitError: Each element of the 'forward_transforms' trait of a RegistrationOutputSpec instance must be an existing file name, but a value of 'transform0DerivedInitialMovingTranslation.mat' <type 'str'> was specified.

Any thoughts? Thanks!

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions