[SciPy-Dev] scipy.io.matlab enhancement patch

Matthew Brett matthew.brett at gmail.com
Tue Dec 6 01:02:53 EST 2011


Hi,

On Mon, Dec 5, 2011 at 7:16 AM, Lorenzo Luengo <loluengo at gmail.com> wrote:
> Last week I made a modification to scipy.io.matlab package, a slight one,
> but i think it's useful.
>
> I added a "whosmat" function, the only thing it does is listing variables
> saved inside a MAT file, without having to load any data, thus saving memory
> from loading a huge MAT file.
>
> Attached is a diff, i used ubuntu's version to make the enhancement, but i
> think it's trivial to port it to the development branch.

Thanks - that does look useful.  I wonder whether it would be worth
doing what matlab 'who' does, and return more information about the
contained variables?

Would you consider making up a pull request for this?

http://docs.scipy.org/doc/numpy/dev/gitwash/development_workflow.html

Thanks,

Matthew



More information about the SciPy-Dev mailing list