[pymvpa] Update on Searchlight/MVPA

Yaroslav Halchenko debian at onerussian.com
Wed Feb 24 20:55:58 UTC 2010


sorry for slow replies... busy atm

>    I fixed the bugs 
what was the bug? ;)

> and ran searchlight on my fMRI data in pyMVPA
>    (python2.6, mac os leopard), however when i attempt to create map2nifti
>    file, it gives me the following error:
>    In [31]: dataset.map2Nifti(s1_map).save('searchlight_5mm.nii.gz')
>    ** ERROR (nifti_image_write_hdr_img2): cannot open output file
>    'searchlight_5mm.nii.gz'
>    I am not sure why that is so.

are you sure that directory is writable?
type
pwd
to see current one, try to open some bogus file

f=open('searchlight_5mm.nii.gz', 'w'); f.close()

to see if no objections from filesystem ;)

-- 
                                  .-.
=------------------------------   /v\  ----------------------------=
Keep in touch                    // \\     (yoh@|www.)onerussian.com
Yaroslav Halchenko              /(   )\               ICQ#: 60653192
                   Linux User    ^^-^^    [175555]





More information about the Pkg-ExpPsy-PyMVPA mailing list