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.
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]
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
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