[Pkg-exppsy-maintainers] state variable in PyMVPA

Yaroslav Halchenko debian at onerussian.com
Wed Jan 9 03:57:27 UTC 2008

Hi All,

As I already told Michael I reworked a bit the way we do 'states' -- ie
information in the objects which can be conditionally stored if they are

If before we simply accessed them via getattr, ie like
and polluted objects namespace with all kinds state-modifying-methods,
such as
clf.isStateEnabled, now it is done via attributes, and access to state
variables is done via .states attribute, ie

print clf.values

needless to say that now we got completion for the state variables
working ipython (although it completes both enabled and not enabled
state variables...)

So, it is a little beastie (which costed me some time) but I hope you
like it

now time to get some data analyzed

P.S. those modifications are under appropriate branch
(_tent/state-access-via-getsetattr) and also I merged them into my
branch (historically named as yoh/mappers)

Yaroslav Halchenko
Research Assistant, Psychology Department, Rutgers-Newark
Student  Ph.D. @ CS Dept. NJIT
Office: (973) 353-5440x263 | FWD: 82823 | Fax: (973) 353-1171
        101 Warren Str, Smith Hall, Rm 4-105, Newark NJ 07102
WWW:     http://www.linkedin.com/in/yarik        

More information about the Pkg-exppsy-maintainers mailing list