CIF_COD_CHECK(1)
π CIF_COD_CHECK β the manual page, but make it make sense π
okay bestie, gather round, because this is cif_cod_check from section 1 of the General Commands Manual, and she is that girl. she parses your CIF files and checks whether your data values are actually serving COD requirements and IUCr data validation criteria. no cap.
β¨ NAME β¨
cif_cod_check β parse a CIF file, check if certain data values match COD requirements and IUCr data validation criteria (Version: 2000.06.09, https://www.iucr.org/__data/iucr/ftp/pub/dvntests or ftp://ftp.iucr.org/pub/dvntests)
π¦ SYNOPSIS π¦
cif_cod_check --options input1.cif input*.cif
πΈ DESCRIPTION πΈ
so basically: she parses a CIF file and checks if certain data values match COD requirements and IUCr data validation criteria. that's the whole vibe. Version: 2000.06.09, and the validation criteria live at https://www.iucr.org/__data/iucr/ftp/pub/dvntests or ftp://ftp.iucr.org/pub/dvntests. π
π OPTIONS π
π the "do we keep going or do we perish" options
-c,--always-continueβ keep processing and return a successful return status, even if errors are diagnosed. she's unbothered, moisturized, in her lane.-c-,--always-dieβ stop and return error status if errors are diagnosed. dramatic exit, iconic.--continue-on-errorsβ do not terminate the script if errors are raised.--die-on-errorsβ terminate the script immediately if errors are raised (default).--continue-on-warningsβ do not terminate the script if warnings are raised (default).--die-on-warningsβ terminate the script immediately if warnings are raised.--continue-on-notesβ do not terminate the script if notes are raised (default).--die-on-notesβ terminate the script immediately if notes are raised.
π§ parser + input vibes
--use-perl-parserβ use the Perl parser for CIF parsing.--use-c-parserβ use the Perl & C parser for CIF parsing (default).--cif-inputβ use CIF format for input (default).--json-inputβ use JSON format for input.
π the meta-options for every check
fr fr, for every --check-xyz option there are these corresponding related options:
--check-only-xyzβ switch off any other checks and check ONLY xyz (the last option on the command line wins, so don't be messy about it).--no-check-xyz,--do-not-check-xyz,--dont-check-xyzβ switch off checks of the xyz condition. three names, one energy.
π₯ the check options themselves
--check-authorsβ check if the author names comply with the COD name syntax requirements. Default.--check-bibliographyβ check if the bibliographical information referring to the original source is present in the file. Default.--require-only-doiβ treat the presence of the DOI as sufficient bibliographic information.--require-full-bibliographyβ require a more detailed set of bibliographic information containing items such as publication journal, year, volume, page numbers, etc. Default.--check-chemical-formula-sumβ check if the summary chemical formula complies with the chemical formula syntax requirements. this check uses a simple syntax that does not take into account things such as chemical element types, chemical element order, etc. Default.--check-pd-block-relationsβ check if the relations between powder diffractogram and phase data blocks are properly described. Default.--check-spacegroup-info--check-operators,--check-symmetry-operators--check-unit-cell--check-symmetry--check-simultaneous-presenceβ check if data items from a certain data item grouping (e.g. atomic coordinates, anisotropic displacement parameters, etc.) are all simultaneously present in a data block. missing data items are reported only if at least one data item from the grouping is already present in the data block. Default.--check-limits--print-limits--add-limits limits.lst--limits-file limits.lst--reset-limits--check-adp-presenceβ check if each data block contains the atomic displacement parameters. the check may optionally be applied only to data files that were published after a certain year (see--max-year-adp-presence-is-optional). Default.--max-year-adp-presence-is-optional 1969β check the presence of atomic displacement parameters only in data files published after the specified year. modifies the behaviour of--check-adp-presence. use--no-max-year-adp-presence-is-optionalto override this option. Default: 1969.--no-max-year-adp-presence-is-optionalβ check the presence of atomic displacement parameters in all data files regardless of the publication year. modifies the behaviour of--check-adp-presence.--check-temperature-factorsβ alias of the--check-adp-presenceoption. Deprecated.--max-year-temperature-factors-optional 1969β alias of the--max-year-adp-presence-is-optionaloption. Deprecated.--no-max-year-temperature-factors-optionalβ alias of the--no-max-year-adp-presence-is-optionaloption. Deprecated.--check-shelx-checksumsβ validate the checksums of embedded SHELX files. Default.--check-embedded-file-integrity--check-z--check-disorder--check-unquoted-stringsβ check if unquoted strings start or end with unusual characters such as";"or"'". the presence of such features is a likely indication of an incorrectly formatted multi-line text field or a quoted string. Disabled by default.--check-allβ enable all available checks. she's doing everything, all at once, and she's slaying.--check-none,--dont-check-any,--do-not-check-any,--no-check-anyβ disable all available checks.--help,--usageβ output a short usage message (this message) and exit.--versionβ output version information and exit.
π REPORTING BUGS π
found a bug? don't be shy, report cif_cod_check bugs using e-mail: cod-bugs@ibt.lt π§
ok that's the whole page bestie, you ate that. now go validate some CIFs π
this was CIF_COD_CHECK(1) from the General Commands Manual, Version 2000.06.09 β that's the source/version energy, periodt. π«ΆπΈβ¨
π¦ where this page comes from
- debian trixie: cod-tools 3.11.0+dfsg-1 Β· LGPL-3.0-only
- ubuntu questing: cod-tools 3.11.0+dfsg-1
- ubuntu resolute: cod-tools 3.11.0+dfsg-2build1 Β· LGPL-3.0-only
- ubuntu stonking: cod-tools 3.12.0+dfsg-2 Β· LGPL-3.0-only
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms