[pymvpa] New PyNIfTI release (was: pynifti ref-count bugs?)

Michael Hanke michael.hanke at gmail.com
Wed Oct 22 07:36:34 UTC 2008


On Wed, Oct 22, 2008 at 09:11:41AM +0200, Gael Varoquaux wrote:
> On Wed, Oct 22, 2008 at 07:32:36AM +0200, Michael Hanke wrote:
> > I have released a new version of PyNIfTI. Together with some minor
> > updates it now also handles the refcount issue properly. If I got it
> > right, there should be no need for unnecessary copying anymore and it
> > should be safe to simply use .data instead of asarray().
> 
> Wow, you're very responsive!
Ha! Not really. I already felt guilty for having ignored PyNIfTI for half a
year.

> Be carefull, I might ask for more (mmm,
> memmapping?). I am impressed, these things are not actually easy.
Well, with that blog post it wasn't too bad -- always given that it
actually works ;-) The unittests run fine and also PyMVPA doesn't
complain, but given that it is only a few days old, I cannot pretend that
it is heavily tested. BTW: the code in that blog post never actually ran before
it got posted-- too many typos ;-)

Memmapping? That is already in (only for uncompressed files though). ;-)

http://niftilib.sourceforge.net/pynifti/api/nifti.niftiimage.MemMappedNiftiImage-class.html

I'd be glad if you could have a critical look at it -- as always, the
things that nobody uses (or close to nobody) tend to be buggy.

> However, I cannot figure out how download the latest source.
I guess this is an incarnation of a problem we sometimes have with git
on alioth.debian.org. Sometimes it simply pretends to not see new
commits. Should work now -- does 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