Discussion List Archives

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

CIF-JSON draft 2017-05-08

  • Subject: CIF-JSON draft 2017-05-08
  • From: James Hester <jamesrhester@xxxxxxxxx>
  • Date: Mon, 8 May 2017 16:58:00 +1000
  • DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025;h=mime-version:from:date:message-id:subject:to;bh=K21lmlvkQu6P3Sk8njzsebuv1YP0iVjupvgDLfjPn10=;b=Duh7xb9hr4Wa9xg7C5TjRAZ9TKdksnw8qh/1Tw1fERJfVwsFe3wows22F2292ywxYfia/2kBF+9ww+xbdcrj9MFrgef2Ay0wYoCvEh5xN1KgSdhSHPDcdhdwvVlX/L7O9XqCNIh/KI5Ueek7stHFMhs3pigmHZG7AmKABXKcFH/otnnXpsaNZ3q4ZanLXRU4Q3aebyvy60twEplxr2KdqGf9hZOeFSOyDknDOr9hVgxsqRPcPduIPCh1k88MlH7/GNcbj7WtzffR0h4oEdQdH6pqND0n+uiPIt0sP3VjQWC1Dv/eFhIxsHKUWwfUZQBvtS2lqK4sYBFQMf2qFdF5Qg==
Dear CIF developers,

I have updated the draft as follows:

(1) Swapped the representations of "." and "?"
(2) Fixed some undelimited numbers
(3) Made loop tags compulsory

What I have not done is put back JSON numbers as an option for representing CIF numbers, as there seems to be little consensus on this one.  As far as I can tell, the best we could do is something like the first draft, where datavalues could optionally be JSON numbers, in which case uncertainties were tabulated separately.  Going this way would involve testing the first entry of every number-valued dataname for being a number before processing all values, but would be a bit of an efficiency win if the number transformation had already been done. Does anybody have a strong argument for or against the approach of the first draft or the approach of the latest draft?

Latest draft: https://comcifs.github.io/cif-json
Original draft: https://github.com/COMCIFS/comcifs.github.io/blob/030b54b5e519be8f0970707dabc7e4bee5fc31a0/cif-json.md

See points (8) and 5(ii) of the original draft for the alternative treatment of numbers.

James.

--
T +61 (02) 9717 9907
F +61 (02) 9717 3145
M +61 (04) 0249 4148
_______________________________________________
cif-developers mailing list
cif-developers@iucr.org
http://mailman.iucr.org/cgi-bin/mailman/listinfo/cif-developers

Reply to: [list | sender only]
International Union of Crystallography

Scientific Union Member of the International Council for Science (admitted 1947). Member of CODATA, the ICSU Committee on Data. Member of ICSTI, the International Council for Scientific and Technical Information. Partner with UNESCO, the United Nations Educational, Scientific and Cultural Organization in the International Year of Crystallography 2014.

ICSU Scientific Freedom Policy

The IUCr observes the basic policy of non-discrimination and affirms the right and freedom of scientists to associate in international scientific activity without regard to such factors as ethnic origin, religion, citizenship, language, political stance, gender, sex or age, in accordance with the Statutes of the International Council for Science.