Re: [PyMOL] cmd.translate

2009-06-29 Thread zach powers
Ah! taqeven is a list and I am cycling through the list to translate each member. I incorrectly thought the problem was in the vector format, not the variable. The final working version is: cmd.translate("[3.3,0,0]", "%s"%taqeven[y]) where y is the position in the list i am cycling through.

Re: [PyMOL] cmd.translate

2009-06-29 Thread Andreas Förster
Assuming taqeven is the name of the object you want to translate, use cmd.translate("[3.3,0,0]", "taqeven") Andreas zach powers wrote: > Hi, > > I have been having some trouble with teh cmd.translate syntax/ > > > I have tried variations on the following: > > cmd.translate("[3.3,0,0]

[PyMOL] cmd.translate

2009-06-29 Thread zach powers
Hi, I have been having some trouble with teh cmd.translate syntax/ I have tried variations on the following: cmd.translate("[3.3,0,0]", "%s"%taqeven) including cmd.translate('[3.3,0,0]', "%s"%taqeven) and cmd.translate("3.3,0,0", "%s"%taqeven) I still always get the following err

[PyMOL] Cool Script -- Interface Residues

2009-06-29 Thread Jason Vertrees
PyMOLers, I just finished a script that I think is pretty cool. It finds the interface residues between two protein chains. The script can easily be modified to fit the slightly different literature-based versions, but this script implements the general idea upon which most are based: http://ww