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 6239693 commit c9e1d26Copy full SHA for c9e1d26
nipype/interfaces/afni/utils.py
@@ -1315,15 +1315,20 @@ def _list_outputs(self):
1315
outputs['out_detrend'] = Undefined
1316
1317
sout = np.loadtxt(outputs['out_file']) #pylint: disable=E1101
1318
+
1319
+ # handle newer versions of AFNI
1320
+ if sout.size == 8:
1321
+ outputs['fwhm'] = tuple(sout[0,:])
1322
+ else:
1323
+ outputs['fwhm'] = tuple(sout)
1324
1325
if self._acf:
1326
outputs['acf_param'] = tuple(sout[1])
- sout = tuple(sout[0])
1327
1328
outputs['out_acf'] = op.abspath('3dFWHMx.1D')
1329
if isinstance(self.inputs.acf, (str, bytes)):
1330
outputs['out_acf'] = op.abspath(self.inputs.acf)
1331
- outputs['fwhm'] = tuple(sout)
1332
return outputs
1333
1334
0 commit comments