JSmol does not ignore the refresh, but remember there is only one thread,
so if your  timeouts on the fade don't get processed before the moveto
continues, you  may see no message. (Guessing here....)


On Tue, Nov 26, 2013 at 11:54 AM, Rolf Huehne <[email protected]>wrote:

> On 11/25/2013 04:57 PM, Robert Hanson wrote:
> > I added the check for an immediate scripts, but you probably don't need
> > that.
> Since the interface doesn't uses immediate scripts and the scripts can
> be very large I removed it.
> I adapted now also succesfully 'JSmol.min.js':
>
> l._script=function(f){ f = 'set echo waitmessage 0% 100%; echo "Please
> wait..."; refresh;\n' + f + auto_zoom_script + '\n set echo waitmessage
> off;'; if(!this._ready)return this._addScript(f);
>
> > If I were you, I would  implement some sort of option that only adds this
> > to certain scripts, not all scripts. Maybe just load and isosurface
> > commands?
> >
> Many commands in the 'Jena3D Viewer' interface are quite complex and can
> take a while. And the time needed often depends strongly on the specific
> PDB entry (e.g.: 4 modeled amino acid variants versus 400). So it would
> be very difficult to build a reasonable system to foresee script
> execution time on a specific platform/browser and Jmol or JSmol
> combination. For very fast commands like setting the background color it
> doesn't really make a difference if the wait message is displayed
> additionally. Besides it is very helpful for recognizing scripting
> problems if the wait message is always shown before a script and hidden
> afterwards if no error occurs.
>
> This brings me to a difference I noticed between Jmol and JSmol. With
> Jmol I can almost always see the wait message, although sometimes very
> shortly. With JSmol I can see the wait message only rarely, for example
> if a 'moveto' command is involved. Does it ignore the 'refresh' command
> or what happens here?
>
> Regards,
> Rolf
> --
>
> Rolf Huehne
> Postdoc
>
> Leibniz Institute for Age Research - Fritz Lipmann Institute (FLI)
> Beutenbergstrasse 11
> 07745 Jena, Germany
>
> Phone:   +49 3641 65 6205
> Fax:     +49 3641 65 6210
> E-Mail:  [email protected]
> Website: http://www.fli-leibniz.de
>
>            Scientific Director: Prof. Dr. K. Lenhard Rudolph
>         Head of Administration: Dr. Daniele Barthel
> Chairman of Board of Trustees: Dennys Klein
>
> VAT No: DE 153 925 464
> Register of Associations: No. 230296, Amtsgericht Jena
> Tax Number: 162/141/08228
>
>
>
> ------------------------------------------------------------------------------
> Rapidly troubleshoot problems before they affect your business. Most IT
> organizations don't have a clear picture of how application performance
> affects their revenue. With AppDynamics, you get 100% visibility into your
> Java,.NET, & PHP application. Start your 15-day FREE TRIAL of AppDynamics
> Pro!
> http://pubads.g.doubleclick.net/gampad/clk?id=84349351&iu=/4140/ostg.clktrk
> _______________________________________________
> Jmol-users mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/jmol-users
>



-- 
Robert M. Hanson
Larson-Anderson Professor 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
------------------------------------------------------------------------------
Rapidly troubleshoot problems before they affect your business. Most IT 
organizations don't have a clear picture of how application performance 
affects their revenue. With AppDynamics, you get 100% visibility into your 
Java,.NET, & PHP application. Start your 15-day FREE TRIAL of AppDynamics Pro!
http://pubads.g.doubleclick.net/gampad/clk?id=84349351&iu=/4140/ostg.clktrk
_______________________________________________
Jmol-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jmol-users

Reply via email to