Peter wrote: > At 01:20 25/03/2004 +0100, Miguel wrote: >>I do not understand the difference between _ (underscore) and . (dot) >> in CIF/STAR commands. >> >>I have not found a DDL reference that explains the difference. > > This whole area is messy and inconsistent. These names are not well > structured.
Great :-( >>Some files have: >> _cell_length_a > > This is DDL1. I think you should stick with this > >>others have: >> _cell.length_a >> > > Does this occur in mmCIF? If so it is using DDL2. I wrote a DDL2 reader > some while ago ... I suppose the simplest thing is to expect either. Yes, this is what I am seeing in mmCIF. > CIF names are case insensitive. Some of them contain punctuation (e.g. > _sintheta/lambda). That makes it difficult to generate code from them. OK. Fortunately, I am just reading them. I wrote my own 'match' routine that allows either '_' or '.' and that does case-insensitive comparisions. Miguel ------------------------------------------------------- This SF.Net email is sponsored by: IBM Linux Tutorials Free Linux tutorial presented by Daniel Robbins, President and CEO of GenToo technologies. Learn everything from fundamentals to system administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click _______________________________________________ Jmol-developers mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jmol-developers
