CIF_VALIDATE(1)
π CIF_VALIDATE(1) π
okay bestie, welcome to the group chat where we talk about cif_validate β that's section 1 of the General Commands Manual, and yes she's iconic, she's CIF_VALIDATE(1), and she's about to become your Roman Empire.
β¨ NAME β¨
cif_validate β validate CIF files against CIF dictionaries (DDL1 or DDLm).
π SYNOPSIS π
cif_validate --dictionaries 'cif_core.dic,cif_cod.dic' --options
input1.cif input*.cif
π¦ DESCRIPTION π¦
So literally all she does, her whole vibe, her entire purpose: validate CIF files against CIF dictionaries (DDL1 or DDLm). no cap. that's the job. π
π OPTIONS π
get comfy, because this list is long and she ate every single time:
-d,--dictionaries 'cif_core.dic,cif_cod.dic'β the list of CIF dictionaries your CIF files should be validated against. DDL1 and DDLm dictionaries can both live in here, they coexist, they're roommates. heads up: the order of DDL1 dictionaries in this list MATTERS (go read--ddl1-dictionariesfor the tea). list elements get separated by either','or' '. and if your dictionary filenames contain those symbols? π« then you gotta use--add-dictionaryinstead.-D,--add-dictionary 'cif new dictionary.dic'β adds one more CIF dictionary to the end of the list.--clear-dictionariesβ yeets every single CIF dictionary out of the list. gone. empty. ghost town.--ddl1-dictionaries 'cif_core.dic,cif_cod.dic'β the list of DDL1 dictionaries to validate against. the order here is important because it decides the dictionary merge order: the first DDL1 dictionary is the base, and every one after it gets merged in sequentially usingOVERLAYmode. any DDL1 dictionaries you dropped into the generic list (see--dictionaries) get appended to the end of this list. elements separated by','or' '. filenames with those symbols in them β use--ddl1-add-dictionaryinstead.--ddl1-add-dictionaryβ adds an extra dictionary to the end of the DDL1 dictionary list.--ddl1-clear-dictionariesβ removes all dictionaries from the DDL1 dictionary list.--merge-ddl1-dictionariesβ merges all the DDL1 dictionaries into one single virtual dictionary before validation happens. this is the default, bestie, she's just like that.--no-merge-ddl1-dictionariesβ does NOT merge the DDL1 dictionaries into a single virtual dictionary before validation.
β οΈ using this option may result in incorrect validation results. you've been warned, angel. π
--ddlm-dictionariesβ the list of DDLm dictionaries to validate against. DDLm dictionaries you put in the generic list (see--dictionaries) get appended to the end of this list. elements separated by','or' '. filenames containing those symbols β use--ddlm-add-dictionaryinstead.--ddlm-add-dictionaryβ adds an extra dictionary to the end of the DDLm dictionary list.--ddlm-clear-dictionariesβ removes all dictionaries from the DDLm dictionary list.-I,--add-ddlm-import-path './ddlm/cod/'β prepends an extra directory to the dictionary import path. the import path is basically the list of directories where she goes looking for files that get imported by DDLm-compliant CIF dictionaries. directories you give her with this option get the highest priority and get searched before the directories listed in theCOD_TOOLS_DDLM_IMPORT_PATHenvironment variable or the default import path (which is the directory of the importing dictionary).--clear-ddlm-import-pathβ removes every directory from the dictionary import path that was added using--add-ddlm-import-path. neither theCOD_TOOLS_DDLM_IMPORT_PATHenvironment variable nor the default import path is affected by this option. she's surgical like that.--max-message-count 5β the max number of validation messages reported for each unique combination of validation criteria and validated data items. provide a negative value (e.g.-1) and she'll output all the generated validation messages. Default:-1.--range-su-multiplier 3.5β the multiplier applied to the standard uncertainty (s.u.) when deciding if a numeric value sits inside the specified range. example: a multiplier of3.5means the value is treated as valid if it falls in the interval of[lower bound - 3.5 * s.u.; upper bound + 3.5 * s.u.]. Default:3.--treat-as-set _atom_site_refinement_flagsβ treats values of the given data items as a set. for historical reasons (the messiest of reasons), data values of some data items are sometimes formed by concatenating several of the available enumeration values. you can pass any number of data items like this:
cif_validate --treat-as-set _tag_1 --treat-as-set _tag_2
Default: '_atom_site_refinement_flags'.
--no-treat-as-setβ do not treat values of any data items as sets (see--treat-as-set).--report-deprecatedβ report the presence of data items that are marked as deprecated in the dictionaries. deprecation usually means the item got replaced by other data items β it's giving retirement era. π--no-report-deprecated,--ignore-deprecatedβ do not report presence of data items marked as deprecated in the dictionaries. Default.--report-local-tagsβ report the presence of local data items.--no-report-local-tags,--ignore-local-tagsβ do not report the presence of local data items. Default.--ignore-caseβ ignore letter case while validating enumeration values. example: even though_atom_site_adp_typeis restricted to values ('Uani','Uiso','Uovl', ...), the value'UANI'would still be treated as valid. she's flexible. applies only to DDL1 dictionaries.--respect-case,--case-sensitive,--dont-ignore-caseβ respect letter case while validating enumeration values. Default. applies only to DDL1 dictionaries.--allow-double-precision-notationβ treats numbers expressed using the double precision notation (e.g.0.42D+7) as proper numbers, in a way that's compatible with DDL1 but not with the CIF_1.1 syntax. applies only to DDL1 dictionaries.--no-allow-double-precision-notationβ treats numbers expressed using the double precision notation (e.g.0.42D+7) as character strings, in a way compatible with the CIF_1.1 syntax, but it does not cover the full extent of the DDL1 numbers variations. Default. applies only to DDL1 dictionaries.--report-missing-suβ reports measurand data items that aren't accompanied by standard uncertainty values. this behaviour follows the requirements imposed by the DDLm reference dictionary prior to version4.0.1. applies only to DDLm dictionaries.--no-report-missing-su,--ignore-missing-suβ does not report measurand data items that aren't accompanied by standard uncertainty values. this behaviour follows the requirements imposed by the DDLm reference dictionary since version4.0.1. Default. applies only to DDLm dictionaries.--use-perl-parserβ use the Perl parser to parse CIF files.--use-c-parserβ use the C parser to parse CIF files. Default.-c,--always-continueβ keep processing and return a successful return status even if errors are diagnosed. she's unbothered. π-c-,--always-dieβ stop and return an error status if errors are diagnosed.--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.--help,--usageβ output a short usage message (this message, hi) and exit.-v,--versionβ output version information and exit.
π ENVIRONMENT π
COD_TOOLS_DDLM_IMPORT_PATHβ a list of directories in which to look for the DDLm-compliant CIF dictionaries that are imported by other DDLm-compliant CIF dictionaries. list elements are separated by the colon symbol (':'). directories listed inCOD_TOOLS_DDLM_IMPORT_PATHhave a lower priority than the ones provided using the command line option (--add-dictionary-import-path), but a higher priority than the default import path directory (which is the directory of the importing dictionary).
π«Ά REPORTING BUGS π«Ά
found a bug? spill the tea, bestie β report cif_validate bugs using e-mail: cod-bugs@ibt.lt
and that's the whole page, angel. π§ she lives in the General Commands Manual as CIF_VALIDATE(1) β same name up top, same name down at the bottom in the footer, because consistency is main character energy. go validate something and slay. periodt. πβ¨π
π¦ where this page comes from
- 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