From: Gilles T. <gt...@cg...> - 2007-06-19 14:51:55
|
YES!!!!! Sometime you feel quite stupid.... It was considered as the b factor... So everything works fine now...=20 I'll be careful with already used named variables............. Thank you all for your help -----Message d'origine----- De : pym...@li... [mailto:pym...@li...] De la part de li...@ul... Envoy=E9 : mardi 19 juin 2007 16:41 =C0 : pym...@li... Objet : Re: [PyMOL] TR : alter_state for y coordinates? On Tuesday 19 June 2007 16:24, Gilles Truan wrote: > cmd.alter_state ("1",("%s" %(i)),"x,y,z=3Dx-a,y-b,z-c") > But I still have the strange thing with the y displacement. If I run=20 > the script and I check the fe position (set as the reference one): Maybe the problem is that the "b" is being interpreted as the B factor of the atom, while "a" and "c" have no special meaning. Try = "x0", "y0" and "z0" as the names for the variables for your displacement. --=20 Lieven Buts Laboratorium voor Ultrastructuur=20 Vrije Universiteit Brussel -------------------------------------------------------------------------= This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take = control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ PyMOL-users mailing list PyM...@li... https://lists.sourceforge.net/lists/listinfo/pymol-users |