From: Shivender S. <sh...@ma...> - 2005-08-24 21:16:13
|
hi, while using kabsch.py by Jason Vertrees from the pymolwiki site (http://www= .pymolwiki.org/index.php/Kabsch#The_Code) i am getting the following error message:=20 Traceback (most recent call last): File "C:\Program Files\DeLano Scientific\PyMOL/modules\pymol\parser.py", = line 191, in parse result=3Dapply(kw[nest][0],args[nest],kw_args[nest]) File "kabsch.py", line 578, in optAlign U, T1, T2, RMSD, c1, c2 =3D K.align(stored.sel1, stored.sel2, []) File "kabsch.py", line 161, in align R =3D self.calcR(c1, c2) File "kabsch.py", line 254, in calcR R[i][j] =3D R[i][j] + (1 * (c2[k][i] * c1[k][j]) ) TypeError: only rank-0 arrays can be converted to Python scalars. on contacting Jason and trying to backtrace the error source it appears tha= t this error occurs=20 only on the Windows platform and the error message originates from within p= ymol.exe and not=20 from anywhere within the Numeric package. i have tried different versions o= f Numeric and pymol. anyone have insight regarding this?=20=20 i am using pymol 0.99beta12 and Numeric 23.8 on Windows XP SP2. thanks, shiven --=20 ___________________________________________________________ Sign-up for Ads Free at Mail.com http://promo.mail.com/adsfreejump.htm |