International
Tables for Crystallography Volume G Definition and exchange of crystallographic data Edited by S. R. Hall and B. McMahon © International Union of Crystallography 2006 |
International Tables for Crystallography (2006). Vol. G. ch. 5.3, p. 516
Section 5.3.6.1.4. STAR::Checker
a
International Union of Crystallography, 5 Abbey Square, Chester CH1 2HU, England |
This module implements a set of checks on a data block against a dictionary object and returns a value of `1' if the check was successful, `0' otherwise. The check tests a specific set of criteria:
(i) Are all items in the DataBlock object defined in the dictionary?
(ii) Are mandatory items present in the data block?
(iii) Are dependent items present in the data block?
(iv) Are parent items present?
(v) Do the item values conform to item type definitions in the dictionary?
Obviously, these criteria will not be appropriate for all purposes, and are in any case fully developed only for DDL2 dictionaries. An optional parameter -options=〉'1' may be set to write a list of specific problems to the standard error output channel.