Skip to content

Commit 7c20a7b

Browse files
committed
address review and add changelog
1 parent c9e1d26 commit 7c20a7b

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

CHANGES

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
Upcoming release (0.14.1)
22
================
33

4+
* FIX: Robustly handled outputs of 3dFWHMx across different versions of AFNI (https://github.com/nipy/nipype/pull/2373)
45
* FIX: Cluster threshold in randomise + change default prefix (https://github.com/nipy/nipype/pull/2369)
56
* MAINT: Cleaning / simplify ``Node`` (https://github.com/nipy/nipype/pull/#2325)
67

nipype/interfaces/afni/utils.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1318,11 +1318,12 @@ def _list_outputs(self):
13181318

13191319
# handle newer versions of AFNI
13201320
if sout.size == 8:
1321-
outputs['fwhm'] = tuple(sout[0,:])
1321+
outputs['fwhm'] = tuple(sout[0, :])
13221322
else:
13231323
outputs['fwhm'] = tuple(sout)
13241324

13251325
if self._acf:
1326+
assert sout.size == 8, "Wrong number of elements in %s"%str(sout)
13261327
outputs['acf_param'] = tuple(sout[1])
13271328

13281329
outputs['out_acf'] = op.abspath('3dFWHMx.1D')

0 commit comments

Comments
 (0)