Re: Request for discussion: dual-version CIF conformance
- To: "Discussion list of the IUCr Committee for the Maintenance of the CIFStandard (COMCIFS)" <comcifs@iucr.org>
- Subject: Re: Request for discussion: dual-version CIF conformance
- From: James Hester <jamesrhester@gmail.com>
- Date: Wed, 19 Jul 2017 23:16:00 +1000
- DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025;h=mime-version:in-reply-to:references:from:date:message-id:subject:to;bh=LmqLvYAwlD17bMiHUjqfKMPDKm1iC4uyZzeIbxAjyDs=;b=knxZYdqZj9ktIPdnEUQrm3W2VetBLq2alB6nQGVRVz14IPP8zq+UFgW7b1U8zTnfcSIVgzXUP8qDRHpMkaRvMS3OSo/M66gjEGhnf2gIlFzdEus5Bq2wlENfxwILpGJEfHqQiXTMANAK8Lkdgunb3oiKWfk0OP5oMgHtw5/Acewu3Ja8aSNFPpfvrdzbZqOAdhCBIBkfMHPMGm/n1XDWBAocVk0PDhh0aZ3mK9mdPRhZVxy4kiNTDK/HxMnVc4hLAV6gpMCeZgGJPMgmHU5RAAFk5Lao38tylSlf49mM1Na9bEfSa2E7pH4pv/edxiE88yPByAI2WZvoomJvcq0BSQ==
- In-Reply-To: <BN3PR0401MB144254D31E6C20069D8D3F58E0A10@BN3PR0401MB1442.namprd04.prod.outlook.com>
- References: <BN3PR0401MB144254D31E6C20069D8D3F58E0A10@BN3PR0401MB1442.namprd04.prod.outlook.com>
Dear Colleagues,
I have lately been scrutinizing the CIF 1.1 specifications in ITvG and carefully considering a variety of unusual cases. One of the less obscure questions I have examined in the course of this process is whether a CIF can simultaneously comply with both CIF 1.1 and CIF 2.0. Up to now I have supposed that CIF 2.0’s requirement for a leading version-identifying comment prevents a file conforming to CIF 2.0 from also conforming to CIF 1.1, but I am having trouble supporting that with the letter of the CIF 1.1 specifications. In particular,
- momentarily disregarding the question of version-identification comments, there is, in fact, a common subset of CIF 1.1 and CIF 2.0 syntaxes on those systems where local text conventions line up with CIF 2.0’s encoding and line-termination requirements.
- CIF 1.1 does not require a version-identification comment to appear at all.
- Although CIF 1.1 defines a format for a version comment that claims conformance with CIF 1.1, it does not specify that files claiming conformance to a different version thereby fail to conform to CIF 1.1.
- In fact, the text seems to suppose that a file may conform to multiple CIF versions, for it remarks that “A CIF may be considered compliant against the most recent version for which it in practice it satisfies all syntactic and content rules […],” and it characterizes the version comment as embodying only a creation-time conformance assertion.
- If it were necessary, a version comment specifying CIF 2.0 could be interpreted as a plain comment in CIF 1.1.
Does anyone want to mount a counterargument? Or am I maybe late to this party?
As a concrete example, consider a machine whose text conventions rely on an ASCII-compatible encoding and use a line feed character as a line terminator (maybe some flavor of Linux). If the following text is recorded on that machine in a file complying with its text conventions, then does the file simultaneously conform with both CIF 1.1 and CIF 2.0?
#\#CIF_2.0
data_example
_item value
### end of CIF ###
Note that this is a different question from whether a processor that supports only CIF 1.1 should assume that it can handle such a file.
Regards,
John
--
John C. Bollinger, Ph.D.
Computing and X-Ray Scientist
Department of Structural Biology
St. Jude Children's Research Hospital
(901) 595-3166 [office]
Email Disclaimer: www.stjude.org/emaildisclaimer
Consultation Disclaimer: www.stjude.org/consultationdisclaimer
_______________________________________________
comcifs mailing list
comcifs@iucr.org
http://mailman.iucr.org/cgi-bin/mailman/listinfo/comcifs
--
F +61 (02) 9717 3145
M +61 (04) 0249 4148
Reply to: [list | sender only]
- References:
- Request for discussion: dual-version CIF conformance (Bollinger, John C)
- Prev by Date: Request for discussion: dual-version CIF conformance
- Next by Date: COMCIFS open meeting in Hyderabad 25th August 13:05 MR 2.06
- Prev by thread: Request for discussion: dual-version CIF conformance
- Next by thread: Information on _audit.schema/formalism to be distributed to CIFprogrammers
- Index(es):