[Chimera-users] Chimera movie with simulation time labels ?

Eric Pettersen pett at cgl.ucsf.edu
Wed Jun 15 10:50:04 PDT 2011


On Jun 15, 2011, at 10:44 AM, Eric Pettersen wrote:

> from chimera import runCommand
> runCommand("2dlabels change timer text '%.1f ns'" % (mdInfo['frame'] *
> 27.5))

This was so close to being correct. :-(  Since frame numbers start at  
1, the last part needs to be:

% ((mdInfo['frame']-1) * 27.5))

--Eric


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


More information about the Chimera-users mailing list