[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Reply to: [list | sender only]
Re: [ddlm-group] Relationship asmong CIF2, STAR,CIF1 and Python. .
- To: Group finalising DDLm and associated dictionaries <ddlm-group@iucr.org>
- Subject: Re: [ddlm-group] Relationship asmong CIF2, STAR,CIF1 and Python. .
- From: David Brown <idbrown@mcmaster.ca>
- Date: Mon, 17 Jan 2011 16:02:31 -0500
- In-Reply-To: <alpine.BSF.2.00.1101171406330.84073@epsilon.pair.com>
- References: <alpine.BSF.2.00.1101120536370.71134@epsilon.pair.com> <alpine.BSF.2.00.1101121400400.85750@epsilon.pair.com> <alpine.BSF.2.00.1101121556380.31518@epsilon.pair.com> <698308.91583.qm@web87015.mail.ird.yahoo.com> <alpine.BSF.2.00.1101121845060.90622@epsilon.pair.com> <alpine.BSF.2.00.1101131202050.27153@epsilon.pair.com> <8F77913624F7524AACD2A92EAF3BFA54166D7D1EB8@SJMEMXMBS11.stjude.sjcrh.local ><20110115124309.GC238@emerald.iucr.org> <a06240800c957bd6d16ee@[192.168.2.102]> <852149.16036.qm@web87006.mail.ird.yahoo.com> <a06240800c957d517a29e@[192.168.2.102]> <102605.32946.qm@web87004.mail.ird.yahoo.com> <a06240802c957da53dcb4@[192.168.2.102]> <878774.52502.qm@web87007.mail.ird.yahoo.com> <a06240803c95801a71470@[192.168.2.102]> <917746.19637.qm@web87007.mail.ird.yahoo.com> <alpine.BSF.2.00.1101160651520.88418@epsilon.pair.com> <alpine.BSF.2.00.1101160855300.88418@epsilon.pair.com> <4D3473CA.1050507@mcmaster.ca><alpine.BSF.2.00.1101171406330.84073@epsilon.pair.com>
Herbert, I had assumed that the DDLm would be backwardly compatible, but not forwardly compatible. The _alias mechanism allows a DDLm program to read CIF1 and CIF2 files and store the information under DDLm names. There may be some problems with datanames that include reserved characters, but the lack of a magic number at the head of the file will warn the program of this possibility. Once the file is read, all the features of DDLm are available. The program can then output a CIF3 (or CIFm) file without further problem. Whatyou want is to have the DDLm-based program write out a CIF1 or CIF2, according to where it found the input or according to some other instruction. This could be done again by consulting the _aliases, but of course there may not be datanames for all the items it calculates. By outputing the information under the appropriate _alias dataname, it should be possible to output a CIF1 or CIF2. The categories should take care of themeselves. The only place there would be difficulty is in the loops, but the DDLm rules aer stronger than the CIF1 and CIF2 rules, so the loops should not violate the less stringent earler standard. In any case I am not sure how your import..as would work in this mode (I would have thought an export..as would be more appropriate). The problem is that in the relevant items there are always two, and sometimes as many as four, _aliases which means that dREL will become extremely cumbersome and would have to know which _import to apply. But this is not really what we are talking about the moment. If we want compatiblity at the syntax level we should be worrying about the use of reserved characters in the older datanames (which we have already discussed), not how we should modify dREL. It would be better to use _aliases even if we have to provide information about their original categories. This is by far the cleanest place - when we are reading or writing a CIF - not when we are in the middle of applying a method. David Herbert J. Bernstein wrote: Dear David, |
begin:vcard fn:I.David Brown n:Brown;I.David org:McMaster University;Brockhouse Institute for Materials Research adr:;;King St. W;Hamilton;Ontario;L8S 4M1;Canada email;internet:idbrown@mcmaster.ca title:Professor Emeritus tel;work:+905 525 9140 x 24710 tel;fax:+905 521 2773 version:2.1 end:vcard
_______________________________________________ ddlm-group mailing list ddlm-group@iucr.org http://scripts.iucr.org/mailman/listinfo/ddlm-group
Reply to: [list | sender only]
- Follow-Ups:
- Re: [ddlm-group] Relationship asmong CIF2, STAR,CIF1 and Python. . (Herbert J. Bernstein)
- References:
- Re: [ddlm-group] Simon's elide proposal (Herbert J. Bernstein)
- Re: [ddlm-group] Simon's elide proposal (Herbert J. Bernstein)
- Re: [ddlm-group] Simon's elide proposal (Herbert J. Bernstein)
- Re: [ddlm-group] Simon's elide proposal (SIMON WESTRIP)
- Re: [ddlm-group] Simon's elide proposal (Herbert J. Bernstein)
- [ddlm-group] Relationship asmong CIF2, STAR, CIF1 and Python (Herbert J. Bernstein)
- Re: [ddlm-group] Relationship asmong CIF2, STAR,CIF1 and Python. . (Brian McMahon)
- Re: [ddlm-group] Relationship asmong CIF2, STAR,CIF1 and Python. . (Herbert J. Bernstein)
- Re: [ddlm-group] Relationship asmong CIF2, STAR,CIF1 and Python. . (SIMON WESTRIP)
- Re: [ddlm-group] Relationship asmong CIF2, STAR,CIF1 and Python. . (Herbert J. Bernstein)
- Re: [ddlm-group] Relationship asmong CIF2, STAR,CIF1 and Python. . (SIMON WESTRIP)
- Re: [ddlm-group] Relationship asmong CIF2, STAR,CIF1 and Python. . (Herbert J. Bernstein)
- Re: [ddlm-group] Relationship asmong CIF2, STAR,CIF1 and Python. . (SIMON WESTRIP)
- Re: [ddlm-group] Relationship asmong CIF2, STAR,CIF1 and Python. . (Herbert J. Bernstein)
- Re: [ddlm-group] Relationship asmong CIF2, STAR,CIF1 and Python. . (SIMON WESTRIP)
- Re: [ddlm-group] Relationship asmong CIF2, STAR,CIF1 and Python. . (Herbert J. Bernstein)
- Re: [ddlm-group] Relationship asmong CIF2, STAR,CIF1 and Python. . (Herbert J. Bernstein)
- Re: [ddlm-group] Relationship asmong CIF2, STAR,CIF1 and Python. . (David Brown)
- Re: [ddlm-group] Relationship asmong CIF2, STAR,CIF1 and Python. . (Herbert J. Bernstein)
- Prev by Date: Re: [ddlm-group] Relationship asmong CIF2, STAR,CIF1 and Python. .
- Next by Date: Re: [ddlm-group] Relationship asmong CIF2, STAR,CIF1 and Python. .
- Prev by thread: Re: [ddlm-group] Relationship asmong CIF2, STAR,CIF1 and Python. .
- Next by thread: Re: [ddlm-group] Relationship asmong CIF2, STAR,CIF1 and Python. .
- Index(es):