[pymvpa] LARS and ENET classifiers broken on Debian etch (RPy issue)

Michael Hanke michael.hanke at gmail.com
Sat Feb 21 10:15:18 UTC 2009


Hi all,

just for the record: Both LARS and ENET classifiers will not work on
Debian etch, since the corresponding RPy prevents 'dim' being reported
for NumPy array, i.e.:

  >>> print rpy.r.dim(N.ones((2,5)))
  None

That breaks both classifiers with:

======================================================================
ERROR: testLARSSensitivities (__main__.LARSTests)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "mvpa/tests/test_lars.py", line 60, in testLARSSensitivities
    clf.train(data)
  File "/home/hanke/hacking/pymvpa/mvpa/clfs/base.py", line 354, in train
    result = self._train(dataset)
  File "/home/hanke/hacking/pymvpa/mvpa/clfs/lars.py", line 149, in _train
    use_Gram=self.__use_Gram)
RException: Error in rep(1, n) : invalid 'times' argument



This is probably close to a non-issue since etch is now 'oldstable', but
somebody might still stumble upon it.


Michael


-- 
GPG key:  1024D/3144BE0F Michael Hanke
http://apsy.gse.uni-magdeburg.de/hanke
ICQ: 48230050



More information about the Pkg-ExpPsy-PyMVPA mailing list