Package: python-nifti
Version: 0.20090205.1-1.1~yoh1
Severity: normal

Following snippet 

from nifti import NiftiImage
ni = NiftiImage(N.arange(9).reshape((3,3,1)))
ni.setFilename('/home/yoh/buga.nii.gz')
print "Filename prior saving: " , ni.filename
ni.save()
print "Filename post saving: " , ni.filename
ni.save('/home/yoh/buga-2.nii.gz')
print "Filename post saving with explicit name: " , ni.filename

produces following output:
Filename prior saving:  /home/yoh/buga.nii.gz
Filename post saving:  None.nii
Filename post saving with explicit name:  /home/yoh/buga-2.nii.gz

and None.nii file instead of /home/yoh/buga.nii.gz

-- System Information:
Debian Release: 5.0
  APT prefers stable
  APT policy: (500, 'stable')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.26-1-amd64 (SMP w/4 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages python-nifti depends on:
ii  libc6                2.7-18              GNU C Library: Shared libraries
ii  libjs-jquery         1.2.6-2             JavaScript library for dynamic web
ii  libnifti1            1.1.0-3~lenny.apsy1 IO libraries for the NIfTI-1 data 
ii  python               2.5.2-3             An interactive high-level object-o
ii  python-numpy [python 1:1.1.0-3           Numerical Python adds a fast array
ii  python-numpy-ext     1:1.1.0-3           NumPy adds a fast array facility t
ii  python-support       0.8.4               automated rebuilding support for P

python-nifti recommends no packages.

python-nifti suggests no packages.

-- no debconf information



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to