[Nipy-devel] design_resid in pca
Jarrod Millman
millman at berkeley.edu
Tue Jun 20 19:30:08 CDT 2006
=====================================================================
ERROR: test_PCAmontage_nomask (neuroimaging.fmri.tests.test_pca.PCATest)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/r/d2/jarrod/nipy-trunk/lib/neuroimaging/fmri/tests/test_pca.py",
line 43, in test_PCAmontage_nomask
p.fit()
File "/r/d2/jarrod/nipy-trunk/lib/neuroimaging/fmri/pca.py", line 80, in fit
self.design_resid = N.ones((self.nimages, 1), N.float64)
File "/usr/lib/python2.4/site-packages/enthought/traits/trait_numeric.py",
line 144, in validate
self.error( object, name, self.repr( value ) )
File "/usr/lib/python2.4/site-packages/enthought/traits/trait_handlers.py",
line 157, in error
raise TraitError, ( object, name, self.info(), value )
TraitError: The 'design_resid' trait of a PCAmontage instance must be
an array with shape ('*', '*'), but a value of array([[ 1.],
[ 1.],
More information about the Nipy-devel
mailing list