[Numpy-discussion] numpy from subversion

Charles Doutriaux doutriaux1@llnl....
Thu Mar 13 09:31:42 CDT 2008


Hi Stephan,

Does the converter from Numeric fixes that? I mean runnning it on an old 
Numeric script will import numpy.ma, does it still replace with 
numpy.oldnumeric.ma?

Thx,

C.

Stéfan van der Walt wrote:
> On Wed, Mar 12, 2008 at 11:39 AM, Charles Doutriaux <doutriaux1@llnl.gov> wrote:
>   
>> My mistake i was still in trunk....
>>
>>  but i do get:
>>
>>     import numpy, numpy.oldnumeric.ma as MA, numpy.oldnumeric as
>>  Numeric, PropertiedClasses
>>   File
>>  "/lgm/cdat/latest/lib/python2.5/site-packages/numpy/oldnumeric/ma.py",
>>  line 4, in <module>
>>     from numpy.core.ma import *
>>  ImportError: No module named ma
>>
>>  How does one build ma these days?
>>     
>
> Travis fixed this in latest SVN.  Maskedarrays should now be imported
> as numpy.ma.
>
> Regards
> Stéfan
> _______________________________________________
> Numpy-discussion mailing list
> Numpy-discussion@scipy.org
> http://projects.scipy.org/mailman/listinfo/numpy-discussion
>
>   


More information about the Numpy-discussion mailing list