[pymvpa] Fwd: mvpa

Yaroslav Halchenko debian at onerussian.com
Tue Jul 14 02:17:10 UTC 2009


doh -- should have sent it to the list right away ;) sorry. To make it
not a useless bounce here is the commit which should have resolved this
issue

*$> git show a5746eacd7 --stat
commit a5746eacd7832392c2aa8493f31e06b5c2f591d6
Author: Yaroslav Halchenko <debian at onerussian.com>
Date:   Tue Jun 23 16:46:57 2009 -0400

    BF+RF: a bit more evolved version testing to cure comparisons against smth like
    
    7.1.2rc3, where it is preceeding actual 7.1.2

 mvpa/base/externals.py     |   23 ++-------
 mvpa/misc/support.py       |  112 ++++++++++++++++++++++++++++++++++++++++++++
 mvpa/tests/test_support.py |   46 ++++++++++++++++++
 3 files changed, 163 insertions(+), 18 deletions(-)


On Mon, 13 Jul 2009, Yaroslav Halchenko wrote:

> Thank you James,

> I think I've resolved this issue some time ago past 0.4.2. Do you want
> me to provide  a patch or you will just wait for a new release?

> Cheers

> On Mon, 13 Jul 2009, James Kyle wrote:

> >    I recently received this bug notification from my macports version of
> >    pymvpa. It should be the most current stable release 0.4.2, so I think
> >    this might be an upstream issue.

> >    Cheers,

> >    -james
> >    Begin forwarded message:

> >    Hi there,

> >    I noticed a very simple issue in the current pymvpa port when using
> >    "from mvpa.suite import *", and I saw this email-address as macport
> >    maintainer, so I figured I'd notify you.

> >      File "/opt/local/lib/python2.5/site-packages/mvpa/base/externals.py",
> >    line 31, in __version_to_tuple

> >        v = tuple([int(x) for x in v.split('.') if not
> >    x.startswith('dev')])

> >    ValueError: invalid literal for int() with base 10: '1rc3'

> >    >>> edit /opt/local/lib/python2.5/site-packages/mvpa/base/externals.py

> >      File "<stdin>", line 1

> >        edit /opt/local/lib/python2.5/site-packages/mvpa/base/externals.py

> >                                    ^

> >    SyntaxError: invalid syntax



> >    (it worked after I modified the line to "v = tuple([int(x) for x in
> >    v.split('.') if x.isdigit()])")
> >    Thanks for making mvpa available!
> >    Christian

> > _______________________________________________
> > Pkg-ExpPsy-PyMVPA mailing list
> > Pkg-ExpPsy-PyMVPA at lists.alioth.debian.org
> > http://lists.alioth.debian.org/mailman/listinfo/pkg-exppsy-pymvpa
-- 
Yaroslav O. Halchenko
Postdoctoral Fellow,   Department of Psychological and Brain Sciences
Dartmouth College, 419 Moore Hall, Hinman Box 6207, Hanover, NH 03755
Phone: +1 (603) 646-9834                       Fax: +1 (603) 646-1419
WWW:   http://www.linkedin.com/in/yarik        



More information about the Pkg-ExpPsy-PyMVPA mailing list