File tree Expand file tree Collapse file tree 2 files changed +3
-1
lines changed Expand file tree Collapse file tree 2 files changed +3
-1
lines changed Original file line number Diff line number Diff line change 1
1
Upcoming release (0.14.1)
2
2
================
3
3
4
+ * FIX: Robustly handled outputs of 3dFWHMx across different versions of AFNI (https://github.com/nipy/nipype/pull/2373)
4
5
* FIX: Cluster threshold in randomise + change default prefix (https://github.com/nipy/nipype/pull/2369)
5
6
* MAINT: Cleaning / simplify ``Node`` (https://github.com/nipy/nipype/pull/#2325)
6
7
Original file line number Diff line number Diff line change @@ -1318,11 +1318,12 @@ def _list_outputs(self):
1318
1318
1319
1319
# handle newer versions of AFNI
1320
1320
if sout .size == 8 :
1321
- outputs ['fwhm' ] = tuple (sout [0 ,:])
1321
+ outputs ['fwhm' ] = tuple (sout [0 , :])
1322
1322
else :
1323
1323
outputs ['fwhm' ] = tuple (sout )
1324
1324
1325
1325
if self ._acf :
1326
+ assert sout .size == 8 , "Wrong number of elements in %s" % str (sout )
1326
1327
outputs ['acf_param' ] = tuple (sout [1 ])
1327
1328
1328
1329
outputs ['out_acf' ] = op .abspath ('3dFWHMx.1D' )
You can’t perform that action at this time.
0 commit comments