[pymvpa] What's up with NameError message?

Yaroslav Halchenko debian at onerussian.com
Fri Mar 4 00:14:02 UTC 2011


what version of PyMVPA do you have available

just provide output of

mvpa.wtf()

to possibly eliminate other questions.

if it is PyMVPA 0.4.x -- then it is the 'stable' one, and the
tutorial was crafted for the yet-to-be-released 0.5->0.6 series, so you
would need to get that one

On Thu, 03 Mar 2011, Glen Lee wrote:

>    Hello,
>    Thanks for your answer for the previous inquiry.
>    I'm stuck again in the very next command of the tutorial page and again
>    have no clue about this error.
>    Your help would be appreciated.
>    -Glen
>    In [3]: ds=get_haxby2001_data()
>    ------------------------------

>    ---------------------------------------------
>    NameError                                 Traceback (most recent call
>    last)
>    /home/Glen/Downloads/tutorial_data/<ipython console> in <module>()
>    /home/Glen/Downloads/tutorial_data/tutorial_lib.pyc in
>    get_haxby2001_data(path, roi)
>         42 def get_haxby2001_data(path=None, roi='vt'):
>         43     if path is None:
>    ---> 44         ds = get_raw_haxby2001_data(roi=roi)
>         45     else:
>         46         ds = get_raw_haxby2001_data(path, roi=roi)
>    /home/Glen/Downloads/tutorial_data/tutorial_lib.pyc in
>    get_raw_haxby2001_data(path, roi)
>         37         return ds
>         38     else:
>    ---> 39         return load_datadb_demo_blockfmri(path=path, roi=roi)
>         40
>         41
>    NameError: global name 'load_datadb_demo_blockfmri' is not defined

> _______________________________________________
> Pkg-ExpPsy-PyMVPA mailing list
> Pkg-ExpPsy-PyMVPA at lists.alioth.debian.org
> http://lists.alioth.debian.org/mailman/listinfo/pkg-exppsy-pymvpa


-- 
=------------------------------------------------------------------=
Keep in touch                                     www.onerussian.com
Yaroslav Halchenko                 www.ohloh.net/accounts/yarikoptic



More information about the Pkg-ExpPsy-PyMVPA mailing list