On 11/28/06, Douglas S. Blank <[EMAIL PROTECTED]> wrote:
On Tue, November 28, 2006 4:04 pm, Chris S said: > I noticed Pyro still makes use of the deprecated Numeric package. Are > there any plans to replace this with Numpy? Yes. Patches accepted, if you get to it first! Let us know if you are working on it.
It's actually pretty trivial for the most part. There's a section in Travis's Guide to Numpy (http://numpy.scipy.org/numpybooksample.pdf) that covers converting Numeric code (page 38). The good news is most of the conversion can be done automatically, with the aid of functions in numpy.oldnumeric.alter_code1.* I ran numpy.oldnumeric.alter_code1.convertall(%pathToPyrobot%/brain) and was able to use Conx without any problems. I'm a huge fan of Python's unittest module for regression testing, but even though you don't seem to use this, verifying the converted code shouldn't be too hard. Regards, Chris _______________________________________________ Pyro-users mailing list [email protected] http://emergent.brynmawr.edu/mailman/listinfo/pyro-users
