[Chimera-users] including "wait" in Demo commands

Elaine Meng meng at cgl.ucsf.edu
Tue Jan 2 10:01:52 PST 2007

On Dec 30, 2006, at 7:14 PM, Kenward Vaughan wrote:

> I have uncovered the "problem."  In one panel, I might have the
> following:
> 	roll y 1 22 ; roll x -0.8182 22
> and in the following panel:
> 	repre stick ; color byatom
> This causes the view in the second panel to revert to what existed  
> prior
> to the first.  **This happens regardless of how long one waits before
> moving forward from one panel to the next.  It is independent of any
> manual manipulation as well.**
> If the first line is terminated with a wait:
> 	roll y 1 22 ; roll x -0.8182 22 ; wait
> then the view generated by the rolls is maintained.

Hi Kenward,
Thanks for noticing this!  It is somewhat rationalizable, because the  
"savepos" command (save position) is executed after each set of panel  
commands.  If there isn't a "wait" at the end, the position is will  
be saved prematurely and not reflect all panel commands.  However,  
you are right, it should be smarter and automatically incorporate a  
"wait" instead of putting the onus on the demo creator.

We will file this as a bug.  In the meanwhile, using "wait" after the  
panel commands is the way to go.  I never noticed this issue, because  
to make a demo I first created a single script (chock full of "wait"  
commands) and then broke it up into panels.

I would be interested to see how your demo turns out!  Please don't  
hesitate to contact us if any other issues arise.

More information about the Chimera-users mailing list