[SciPy-dev] [patch] read/write v5 .mat files with structs, cell arrays, objects, or function handles

Thouis (Ray) Jones thouis@broad.mit....
Wed Oct 1 19:11:45 CDT 2008


On Wed, Oct 1, 2008 at 4:20 PM, Stéfan van der Walt <stefan@sun.ac.za> wrote:
> Thank you for improving the SciPy IO capabilities!  Before we go
> ahead, would you kindly do the following:
>
> - Make sure that the existing test suite passes with your patch
> applied (I can't do that from here right now)
> - Write tests to verify the working of the new functionality

Is it acceptable for us to modify the tests to handle the new form of
some matlab objects.  Structures, objects, and function handles are
definitely different.  String arrays have a different dtype, as well.

Also, I noticed there is a test for reading matlab objects.  I think
this should be removed, as the structure that matlab uses to save
objects is not well documented (besides being a matlab 1x1 struct
array with an extra element for the classname).

We'll try to get this done soon.

Best,
Ray Jones


More information about the Scipy-dev mailing list