[SciPy-user] scipy.io.mio.savemat error

Stefan van der Walt stefan at sun.ac.za
Mon Jun 26 06:54:18 EDT 2006


On Sun, Jun 25, 2006 at 08:53:00AM -0700, Keith Goodman wrote:
> Now I get
> 
> /usr/local/lib/python2.4/site-packages/scipy/io/mio.py in
> savemat(filename, dict)
>     857     for variable in dict.keys():
>     858         var = dict[variable]
> --> 859         if type(var) is not ArrayType:
>     860             continue
>     861         if var.dtype.char == 'S1':
> 
> NameError: global name 'ArrayType' is not defined

Fixed in SVN.

Cheers
Stéfan




More information about the SciPy-User mailing list