I’m trying to run a pipeline that has worked for me in the past (nipype versions 1.0.0.dev0 and 0.12.1) but is now crashing (version 1.0.3). I’ve tracked down why it is crashing and wanted to see what I am missing.
My script is crashing on an ants.applyTransform node. It appears that the /nipype/interfaces/ants/base.py script in the newest version of nipype has a line that checks the version of antsRegistration:
version_cmd = os.path.join(os.getenv('ANTSPATH', ''), 'antsRegistration') + ' --version'
This flag however results in the following output:
Image dimensionality not specified. See command line option --dimensionality
and the node fails to run. I am using ANTs version 2.1.0.
Any insight would be greatly appreciated.