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.
1 parent 4801a4c commit 5526eedCopy full SHA for 5526eed
nipype/interfaces/afni/utils.py
@@ -734,7 +734,7 @@ def _list_outputs(self):
734
outputs = super(CenterMass, self)._list_outputs()
735
outputs['out_file'] = os.path.abspath(self.inputs.in_file)
736
outputs['cm_file'] = os.path.abspath(self.inputs.cm_file)
737
- sout = np.loadtxt(outputs['cm_file']) # pylint: disable=E1101
+ sout = np.loadtxt(outputs['cm_file'], ndmin=2) # pylint: disable=E1101
738
if len(sout) > 1:
739
outputs['cm'] = [tuple(s) for s in sout]
740
else:
0 commit comments