YES!!!!! Sometime you feel quite stupid.... It was considered as the b factor... So everything works fine now... I'll be careful with already used named variables.............
Thank you all for your help -----Message d'origine----- De : pymol-users-boun...@lists.sourceforge.net [mailto:pymol-users-boun...@lists.sourceforge.net] De la part de lie...@ultr.vub.ac.be Envoyé : mardi 19 juin 2007 16:41 À : pymol-users@lists.sourceforge.net 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=x-a,y-b,z-c") > But I still have the strange thing with the y displacement. If I run > 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. -- Lieven Buts Laboratorium voor Ultrastructuur 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 PyMOL-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/pymol-users