Thank you very much for that careful assessment. Oy, my bad. In Jmol 11.7.45
I mistakenly turned all functions starting with _ global (shared between
applets). Prior to that it was the other way around -- that functions NOT
starting with _ were shared. But the reason those were NOT global was that
state scripts use that _ prefix. It was a poor choice all around. I've now
set both Jmol 11.8.8 and Jmol 11.9.7 to consider all functions to be local
functions unless they explicitly start with "global_".

My VPN is down or I would upload these files tonight; they will have to wait
until tomorrow.

Bob

On Tue, Nov 3, 2009 at 8:06 PM, Eric Martz <[email protected]>wrote:

> Eran kindly provided me with his test files that demonstrate what
> appears to us to possibly be a bug in Jmol 11.8.7 and later versions
> that precludes getting the correct initial display when 2 jmols are
> on one page. I have adapted Eran's demo and put it here
>
> http://www.umass.edu/molvis/tests/Jmolx2_version_test/
>
> There you can test a very simple page with 2 Jmols, with 3 different
> versions of Jmol.
>
> When one of the Jmols gives the wrong display (and reports loading
> the wrong PDB file in its menu), if you open its console and
> re-execute its one-line history, the display comes out correct!
>
> The 2 jmols are running state scripts generated by Jmols versions
> 11.5.41 and 11.5.42. Could this be part of the problem -- using state
> scripts from earlier versions of Jmol? If so, it is a significant
> problem for Proteopedia.Org which has hundreds of state scripts saved
> with earlier Jmols being run in later Jmols. Proteopedia is currently
> using Jmol 11.6.14. When we tried to upgrade it to 11.8.7, the
> problem demonstrated above became apparent. Ideally we would like to
> use the existing state scripts (from older versions) in newer Jmols.
>
> At the main page at the above URL you can download the entire fileset
> in one zip file, for local testing and editing.
>
> Thanks for your help! -Eric
>
>
>
> ------------------------------------------------------------------------------
> Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day
> trial. Simplify your report design, integration and deployment - and focus
> on
> what you do best, core application coding. Discover what's new with
> Crystal Reports now.  http://p.sf.net/sfu/bobj-july
> _______________________________________________
> Jmol-users mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/jmol-users
>



-- 
Robert M. Hanson
Professor of Chemistry
St. Olaf College
1520 St. Olaf Ave.
Northfield, MN 55057
http://www.stolaf.edu/people/hansonr
phone: 507-786-3107


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
------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
Jmol-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jmol-users

Reply via email to