
On 4/3/06, Thomas Goddard <goddard@cgl.ucsf.edu> wrote:
Hi Charlie,
Currently Chimera uses Numeric and not numarray or Numpy. I write my own Python wrappers for our Chimera C++ code that uses Numeric for volume data because our wrapping program (wrappy) does not handle this. So it is some work to switch to Numpy, and I am unlikely to do so until it is absolutely clear that Numpy is superceding Numeric and numarray.
What is the multiarray.so error on OSX when you use Numeric and Numpy? If there is a shared library conflict, then I probably will have the same trouble if our C++ code tries to support reading both formats for surfaces.
import numpy import Numeric Traceback (most recent call last): File "<pyshell#3>", line 1, in ? import Numeric File "/Applications/Chimera.app/Contents/Resources/lib/python2.4/site-packages/Numeric/Numeric.py", line 91, in ? import multiarray SystemError: dynamic module not initialized properly
They both work fine when used separately. I have no clue what OSX does differently to bring this up.