We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
from nipype.interfaces import afni a = afni.CenterMass() a.inputs.in_file = 'anat.nii.gz' a.inputs.cm_file = 'cm.txt' a.run()
throws an error because single line file cm.txt is not loaded in an array of length one
cm.txt
TypeError: 'numpy.float64' object is not iterable