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 e8f8f5f commit 140f4b6Copy full SHA for 140f4b6
nipype/algorithms/eval.py
@@ -455,7 +455,9 @@ def _run_interface( self, runtime ):
455
msk = nb.load( self.inputs.mask ).get_data()
456
457
if ( mapshape != msk.shape ):
458
- raise RuntimeError( "Mask should match volume shape")
+ raise RuntimeError( "Mask should match volume shape, \
459
+ mask is %s and volume is %s" %
460
+ ( list(msk.shape), list(mapshape) ) )
461
462
mskvector = msk.reshape(-1)
463
refvector = refvector * mskvector[:,np.newaxis]
0 commit comments