[Chimera-users] Movie Question

Eric Pettersen pett at cgl.ucsf.edu
Fri Sep 15 13:33:48 PDT 2006

On Sep 15, 2006, at 1:21 PM, Elaine Meng wrote:

> The programmers among my colleagues may be able to generate Python
> scripts that would be much less icky.

If you know enough of the basics of Python to write a loop, then as  
Elaine pointed out these color transitions become less onerous.   
Also, you don't need to know the Python equivalent of every Chimera  
command you need, since you can:

	from chimera import runCommand

to make the runCommand function available and then thereafter use it  
to execute a string with the command you want, e.g.:

	runCommand("open 1gcn")

to open 1gcn.


                         Eric Pettersen
                         UCSF Computer Graphics Lab
                         pett at cgl.ucsf.edu

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://plato.cgl.ucsf.edu/pipermail/chimera-users/attachments/20060915/74b13667/attachment.html>

More information about the Chimera-users mailing list