I found both problems and have corrected them for Jmol 11.6.14 and Jmol 11.7.22.
Bob On Tue, Jan 20, 2009 at 3:54 AM, Eran Hodis <[email protected]> wrote: > Hi All, > We're upgrading from Jmol 11.5.51 to Jmol 11.6.13 and have noticed a couple > errors in running old state scripts in Jmol 11.6.13. > It appears that the "structure helix" command, which appears in the > _setModelState() function in the state script, as well as the user-defined > variables such as "@~anomalous_atoms ({});" generate errors in Jmol 11.6.13 > but not in Jmol 11.5.51 when run from a script. The error is: > script complier ERROR: unrecognized expression token: ) > > and when the error command shows the line that has caused the error, the > second parenthesis appears slightly different than the first parenthesis, > which is not true in the script that was run. It's as if the second > parenthesis is appearing in a slightly different font. > The following two lines each cause the same error independently: > > 1.) @~anomalous_atoms ({}); > > 2.) structure helix ({15:128}) # model=1.1 & (3 - 18); > > In case number two, both of the 2nd parentheses, the closing ones, ")", > appear in a different font in the error message that we receive from Jmol. > When typed into the console of Jmol 11.6.13 instead of run from a script, no > error is shown. > Thanks for your help with this. > Best regards, > Jaim and Eran > > > > > > ------------------------------------------------------------------------------ > This SF.net email is sponsored by: > SourcForge Community > SourceForge wants to tell your story. > http://p.sf.net/sfu/sf-spreadtheword > _______________________________________________ > 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 ------------------------------------------------------------------------------ This SF.net email is sponsored by: SourcForge Community SourceForge wants to tell your story. http://p.sf.net/sfu/sf-spreadtheword _______________________________________________ Jmol-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/jmol-users

