On Tue, August 29, 2006 8:15 am, Alan Hewat wrote: > <html> > <body> > It seems that Jmol-11 does not load CIF files containing any blank lines. > But blank lines are not flagged as errors by ENCIFER > <a href="http://www.ccdc.cam.ac.uk/free_services/encifer/" > eudora="autourl"> > http://www.ccdc.cam.ac.uk/free_services/encifer/</a> and should simply be > ignored by the Jmol parser.
According to the CIF standards anything other than dataitems are to be ignored by the parser. So, blank lines, lines starting with # or ! or anything else that doesn't signify a dataname or belong to a datavalue is ignorable. Obviously, specialized parsers can find triggers for specific tasks and I kinda like the idea of being able to embed a script in a CIF but why not just define a jmol-specific dataitem? There is no harm with that and it guarantees that the dataitem will get carried on in the CIF even if another parser is invoked at some point on the file (since a sensible parser will pass-through dataitems it doesn't understand/recognize). Rich ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Jmol-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/jmol-users

