Bob,

Given the kind of day this must have been for you, I really hate to do this, 
but I’m failing on this JavaScript:

Jmol.getPropertyAsArray(jmolApplet0, "moleculeInfo.mf").length

It’s a quick check that I use on a number of routines for counting the number 
of models in a window. It fails with this error message:

SyntaxError: Unexpected number '4'. Expected either a closing ']' or a ',' 
following an array element.
Function
_evalJSON — JSmol.min.nojq.js:57:488
_getPropertyAsArray — JSmol.min.nojq.js:121
getPropertyAsArray — JSmol.min.nojq.js:152:187
eval code
eval
_evaluateOn
_evaluateAndWrap
evaluate

As you can see, I use JSmol.min.nojq.js.

Otis


--
Otis Rothenberger
o...@chemagic.org
http://chemagic.org

> On Mar 24, 2016, at 6:53 PM, Robert Hanson <hans...@stolaf.edu> wrote:
> 
> OK, here we go. Try this again...
> 
> Download Jmol-14.4.4_2016.03.24d-binary.zip (61.0 MB) 
> <https://sourceforge.net/projects/jmol/files/latest/download?source=files>
> 
> Jmol.___JmolVersion="14.4.4_2016.03.24d"
> released
> 
> NOTE: This release replaces 03.21, 03.22, and 03.24, which I have deleted on 
> SourceForge 
>            because of the problem of their improperly saving the state of 
> boundbox, unitcell, 
>            and  axes when those are set using, for instance UNITCELL 0.1
> 
> new feature: moveto AXIS <a|b|c|-a|-b|-c> coupled with <1|2|3|4>
>  -- indicates direction of axis ("-a" indicates "a pointing away")
>  -- and clockwise position 1(top left), 2(top right), 3(bottom right), and 
> 4(bottom left)
>  -- defaults a == a1, b == -b1, c == c4 
>  -- slight modification of what was released in 03.21
> 
> bug fix: JavaScript Jmol.evaluateVar() does not properly escape JSON strings
> bug fix: SMILES generator broken in 03.23
> 
> bug fix: axes/unitcell/boundbox appear 10x too thick after recalling from 
> state
>  -- broken in JmolVersion="14.4.4_2016.03.21"
>  
> bug fix: polyhedra fix for overlapping face triangles
> bug fix: magnetic spin vector trail disappears when not vibrating
> bug fix: magnetic spin vector trail does not reset if set vectorscale <n> 
> where <n> is less than current
> 
> bug fix: NCI requires stereochemistry to rings to be prior to a branch:
>          C\1(/C)=C\C=C.C/1=C not C(/C)\1=C\C=C.C/1=C
>          
> new feature: x.bin() method allows return of an array listing both the bound 
> and the count
>  -- example:
>  
>          $ print {*}.bonds.length.all.bin(1,2,0.1,"",TRUE).format("json")
>         [ [ 1.0,10.0 ],[ 1.1,0.0 ],[ 1.2,0.0 ],[ 1.3,3.0 ],[ 1.4,2.0 ],[ 
> 1.5,1.0 ],[ 1.6,0.0 ],[ 1.7,0.0 ],[ 1.8,0.0 ],[ 1.9000001,0.0 ] ]
> 
> 
> new feature: load =magndata/1.1.37
>  -- links to the MAGNDATA database at http://webbdcrista1.ehu.es/magndata 
> <http://webbdcrista1.ehu.es/magndata>
>  --     "magndata", "http://webbdcrista1.ehu.es/magndata/mcif/%FILE.mcif 
> <http://webbdcrista1.ehu.es/magndata/mcif/%FILE.mcif>",
>           
> new feature: set vectorTrail n
>  -- adds a trail onto a modulating vector (as for an incommensurate magnetic 
> spin)
>  -- n trails are made, typically in a fan-like pattern that trails the 
> spinning vector
>       load =magndata/1.1.37
>       set vectortrace 20
>       set vibrationperiod 2
>       vibration on
>       
> new feature: unitcell ON  adds #nnn (international table number) to cell 
> description if found 
> 
> 
> 
> On Thu, Mar 24, 2016 at 11:17 AM, Robert Hanson <hans...@stolaf.edu 
> <mailto:hans...@stolaf.edu>>wrote:
> I have removed all versions of Jmol made after March 20, because of the 
> problem of their improperly saving the state of boundbox, unitcell, and  axes 
> when those are set using, for instance using UNITCELL 0.1
> 
> Recompiling and updating now. Sorry for the inconvenience.
> 
> Bob
> 
> 
> 
> 
> -- 
> Robert M. Hanson
> Larson-Anderson Professor of Chemistry
> Chair, Department of Chemistry
> St. Olaf College
> Northfield, MN
> http://www.stolaf.edu/people/hansonr <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
> 
> ------------------------------------------------------------------------------
> Transform Data into Opportunity.
> Accelerate data analysis in your applications with
> Intel Data Analytics Acceleration Library.
> Click to learn more.
> http://pubads.g.doubleclick.net/gampad/clk?id=278785351&iu=/4140_______________________________________________
> Jmol-users mailing list
> Jmol-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/jmol-users

------------------------------------------------------------------------------
Transform Data into Opportunity.
Accelerate data analysis in your applications with
Intel Data Analytics Acceleration Library.
Click to learn more.
http://pubads.g.doubleclick.net/gampad/clk?id=278785351&iu=/4140
_______________________________________________
Jmol-users mailing list
Jmol-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jmol-users

Reply via email to