fixed

On Sun, Dec 13, 2015 at 7:42 AM, Robert Hanson <hans...@stolaf.edu> wrote:

> Probably a bug that the rest of the script is not executed, but there's no
> way to wait for a zoomto. Don't do that.
>
> On Sat, Dec 12, 2015 at 6:33 PM, Eric Martz <ema...@microbio.umass.edu>
> wrote:
>
>> Consider the following commands:
>>
>> zoomto *1.3;
>> select protein;
>> color yellow;
>>
>> In javascript, when these commands are in the string "spt",
>> jmolScript(spt)
>> produces a smooth zoom followed by protein turning yellow.
>>
>> However,
>> jmolScriptWait(spt)
>> produces a zoom in one large step (snap zoom) and the remainder of the
>> script is not executed (protein does not turn yellow).
>>
>> Is this a bug or a feature of jmolScriptWait()?
>>
>> Thanks, Eric
>>
>>
>> ------------------------------------------------------------------------------
>> _______________________________________________
>> Jmol-users mailing list
>> Jmol-users@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/jmol-users
>>
>
>
>
> --
> Robert M. Hanson
> Larson-Anderson Professor of Chemistry
> Chair, Department of Chemistry
> St. Olaf College
> Northfield, MN
> http://www.stolaf.edu/people/hansonr
>
>
> If nature does not answer first what we want,
> it is better to take what answer we get.
>
> -- Josiah Willard Gibbs, Lecture XXX, Monday, February 5, 1900
>
>


-- 
Robert M. Hanson
Larson-Anderson Professor of Chemistry
Chair, Department of Chemistry
St. Olaf College
Northfield, MN
http://www.stolaf.edu/people/hansonr


If nature does not answer first what we want,
it is better to take what answer we get.

-- Josiah Willard Gibbs, Lecture XXX, Monday, February 5, 1900
------------------------------------------------------------------------------
_______________________________________________
Jmol-users mailing list
Jmol-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jmol-users

Reply via email to