DDLM_VALIDATE(1)
π DDLM_VALIDATE π
okay bestie, so this is ddlm_validate β it lives in the General Commands Manual (section 1, the classics β¨), and it's the little tool that checks your CIF files against DDLm-compliant CIF dictionaries. think of it as a vibe check for your crystal data π
β¨ NAME β¨
ddlm_validate β validate CIF files against DDLm-compliant CIF dictionaries.
like, it takes your CIF files and goes "hmm, does this match the dictionary rules tho?" π
πΈ SYNOPSIS πΈ
ddlm_validate --dictionaries 'cif_core.dic,cif_cod.dic' --options
input1.cif input*.cif
yes, that's the whole glow-up. dictionaries first, then your files, no cap π«Ά
π¦ DESCRIPTION π¦
Validate CIF files against DDLm-compliant CIF dictionaries.
that's literally it, that's the job. she validates. she slays. periodt β¨
π OPTIONS π
-d,--dictionaries 'cif_core.dic,cif_cod.dic'β bestie this is THE list of DDLm-compliant CIF dictionary files that your CIF files should be validated against. list elements get separated either by,or by. hmm and if you have dictionary filenames that literally contain those symbols? π then you gotta use the--add-dictionaryoption instead, sorry.-D,--add-dictionary 'cif new dictionary.dic'β adds one more CIF dictionary to the list. one at a time, queen, stack 'em up π--clear-dictionariesβ yeets every single CIF dictionary off the list. clean slate energy.-I,--add-ddlm-import-path './ddlm/cod/'β prepends an additional directory to the dictionary import path. and what even is the dictionary import path, you ask? it's the list of directories where we go looking for files that get imported by DDLm-compliant CIF dictionaries. directories you give with this option get the highest priority β they're 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). main character priority fr fr π--clear-ddlm-import-pathβ removes all the directories from the dictionary import path that were added using the--add-ddlm-import-pathoption. important: neither theCOD_TOOLS_DDLM_IMPORT_PATHenvironment variable nor the default import path is affected by this option. she's surgical with it π--max-message-count 5β the maximum number of validation messages that get reported for each unique combination of validation criteria and validated data items. wanna see EVERYTHING? provide a negative value (e.g.-1) and she'll output all of the generated validation messages. Default:-1.--range-su-multiplier 3.5β the multiplier applied to the standard uncertainty (s.u.) when we're deciding if a numeric value actually resides in the specified range. for example: a multiplier of3.5means the value is treated as valid if it falls inside the interval of[lower bound - 3.5 * s.u.; upper bound + 3.5 * s.u.]. math girlies rise π§ Default:3.--treat-as-set _atom_site_refinement_flagsβ treats values of given data items as a set. okay so due to historical reasons π data values of some data items are sometimes formed by concatenating several of the available enumeration values. any number of data items can be specified, like this:
ddlm_validate --treat-as-set _tag_1 --treat-as-set _tag_2
Default: '_atom_site_refinement_flags' and '_atom_site.refinement_flags'.
--no-treat-as-setβ do not treat values of any data items as sets (see--treat-as-set). so... the opposite, obviously π--report-deprecatedβ reports the presence of data items that are marked as deprecated in the dictionaries. and what does deprecation mean? usually that the data item has been replaced with another data item. she's giving you the heads up, not just gossip π--no-report-deprecated,--ignore-deprecatedβ do not report the presence of data items marked as deprecated in the dictionaries. this is the Default. shhh, we don't talk about those π€«--report-local-tagsβ reports the presence of local data items. spill the tea β--no-report-local-tags,--ignore-local-tagsβ do not report the presence of local data items. Default. quiet luxury energy.--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 version 4.0.1. vintage rules, retro vibes π--no-report-missing-su,--ignore-missing-suβ do 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 version 4.0.1. Default. glow-up complete β¨--follow-iucr-style-guideβ do not report missing recommended attributes if they fit the criteria defined in the IUCr DDLm dictionary style guide version 1.4.0, rule 3.1.6. very specific, very cunty, very correct π--no-follow-iucr-style-guideβ do not make any validation exceptions based on the IUCr DDLm dictionary style guide. Default. no special treatment here π--continue-on-errorsβ do not terminate the script if errors are raised. she's resilient, she's bouncing back π¦--die-on-errorsβ terminate the script immediately if errors are raised. Default. dramatic exit, honestly iconic π--continue-on-warningsβ do not terminate the script if warnings are raised. Default. we move on π«Ά--die-on-warningsβ terminate the script immediately if warnings are raised. lights out, bestie π--continue-on-notesβ do not terminate the script if notes are raised. Default. notes? little notes? she can handle it πΈ--die-on-notesβ terminate the script immediately if notes are raised. even the lil notes can end it all π--help,--usageβ output a short usage message (this message) and exit. your girl loves a lil help π₯°--versionβ output version information and exit. numbers! dates! slay! β
π 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 those provided using the command line option (--add-dictionary-import-path), but higher than the default import path directory (directory of the importing dictionary). hierarchy, but make it cute π§
π REPORTING BUGS π
found a bug? bestie, report ddlm_validate bugs using e-mail: cod-bugs@ibt.lt π§ she wants to know, fr fr π«Ά
and that's the whole page π this was the DDLM_VALIDATE(1) command from the General Commands Manual, and the footer down there is just the title all over again β DDLM_VALIDATE(1) on its own, no version, no date, just her name in lights β¨ obsessed. go validate something, bestie π
π¦ 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