Weird - the only way I can currently test this with the applet is to go to
http://chemapps.stolaf.edu/jmol/jsmol/test2.htm?USE=JAVA
on my Windows computer. Load decane, split it in half, and enter the script:
!var i = {*}.atomIndex.max + 1;var t = {*}.atomIndex.min;select within(branch,
{atomIndex=i}, {atomIndex=t});var x = compare({selected}, {not selected},
"ISOMER");set echo top left;font echo 18 serif;color echo green;echo @x
It's not broken in Java. When I do the same for HTML5 mode on this page,
IDENTICAL is broken with the above code, but the other comparisons seem to work
OK - just like on my page.
Otis
--
Otis Rothenberger
[email protected]
http://chemagic.com
On Jan 17, 2013, at 5:17 PM, Robert Hanson wrote:
> is it broken in Jmol/Java as well?
>
>
> On Thu, Jan 17, 2013 at 3:29 PM, Otis Rothenberger <[email protected]>
> wrote:
> Bob,
>
> The compare function is broken for identical models. I see the code at ~62069
> in core.z.js, but I cannot spot the problem. The function seems to work for
> everything but identical.
>
> Otis
>
>
> --
> Otis Rothenberger
> [email protected]
> http://chemagic.com
>
>
>
>
>
> ------------------------------------------------------------------------------
> Master Visual Studio, SharePoint, SQL, ASP.NET, C# 2012, HTML5, CSS,
> MVC, Windows 8 Apps, JavaScript and much more. Keep your skills current
> with LearnDevNow - 3,200 step-by-step video tutorials by Microsoft
> MVPs and experts. ON SALE this month only -- learn more at:
> http://p.sf.net/sfu/learnmore_122712
> _______________________________________________
> Jmol-users mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/jmol-users
>
>
>
>
> --
> Robert M. Hanson
> Larson-Anderson Professor of Chemistry
> Chair, Chemistry Department
> 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
>
> ------------------------------------------------------------------------------
> Master Visual Studio, SharePoint, SQL, ASP.NET, C# 2012, HTML5, CSS,
> MVC, Windows 8 Apps, JavaScript and much more. Keep your skills current
> with LearnDevNow - 3,200 step-by-step video tutorials by Microsoft
> MVPs and experts. ON SALE this month only -- learn more at:
> http://p.sf.net/sfu/learnmore_122712_______________________________________________
> Jmol-users mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/jmol-users
------------------------------------------------------------------------------
Master Visual Studio, SharePoint, SQL, ASP.NET, C# 2012, HTML5, CSS,
MVC, Windows 8 Apps, JavaScript and much more. Keep your skills current
with LearnDevNow - 3,200 step-by-step video tutorials by Microsoft
MVPs and experts. ON SALE this month only -- learn more at:
http://p.sf.net/sfu/learnmore_122712
_______________________________________________
Jmol-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jmol-users