Rolf Huehne wrote: > >You are wrong. I tested some problematic cases with Jmol 11.3.33 >Revision 8438 (build from SVN) and they are still problematic: "SET", "2MO": > > select [SET]17:A; > select [2MO]17:A; > > > OK, that's fixed for 11.3.34. Anything in brackets will pass the compiler now, which is fine.
>I wanted to analyze this systematically using the command-line syntax >check option. But it was quite useless. Each scriptfile contained a >single command as in the examples above and Jmol was started using the >following command-line: > > java -jar Jmol.jar -n -c -s scriptfilename > >The output was not very informative. In most cases there was only the >following message (1 or 2 times): > >--checking script: >null >---- > >Sometimes there was additionally the following kind of message: > >select [118]17:A; >--script check ok > > > The messages were not going to Logger.Error; now they are. >The "null" message was there for "2MO" but also for a lot of others that >worked fine if invoked manually. So I can't provide you with a complete >list of problematic cases. > > > also fixed for 11.3.34 >In general the behaviour of Jmol in command-line mode is not very unix-like: > >1) Usually the output is send to "STDOUT" and the error or log messages >are send to "STDERR". This allows for an easy separation of real output >and other messages and simplifies output parsing. >So I would expect that something like "syntax ok" or "syntax not ok" >would be the output with the command-line switch "-c". > > > Since you can set the log level to anything you want, we have log messages going to STDOUT. Should they really go to STDERR? >2) The silent option unfortunately (and unexpectedly) makes Jmol totally >silent. Usually such an option is used to suppress any commenting or >warning messages but not the requested output. > > > TOTALLY silent. Right. >Regards, Rolf > >------------------------------------------------------------------------- >This SF.net email is sponsored by: Splunk Inc. >Still grepping through log files to find problems? Stop. >Now Search log events and configuration files using AJAX and a browser. >Download your FREE copy of Splunk now >> http://get.splunk.com/ >_______________________________________________ >Jmol-users mailing list >[email protected] >https://lists.sourceforge.net/lists/listinfo/jmol-users > > -- Robert M. Hanson 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 ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ _______________________________________________ Jmol-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/jmol-users

