CIF_DIFF(1)
๐ CIF_DIFF(1) ๐
okay so bestie, welcome to cif_diff โ it lives in the General Commands Manual (section 1, we're fancy like that), and it's about to eat. ๐
โจ NAME โจ
cif_diff โ parse two CIF files and compare their content ๐ฆ
๐ธ SYNOPSIS ๐ธ
cif_diff --options input1.cif input2.cif
๐ DESCRIPTION ๐
You hand it two CIF files. It parses both of them. It compares their content. That's the whole vibe, no cap. ๐ฅ
๐ OPTIONS ๐
-t,--tagsโ give it a whitespace- or comma-separated list of tags to compare. The moment this shows up, only the tags you listed here get compared. nothing else gets a seat at the table ๐-a,--add-tagโ adds one more tag to the list of tags being compared. lil addition, big impact โจ-c,--clear-tagsโ wipes the whole compared-tags list clean. fresh start energy ๐ง-f,--file-with-tagsโ point it at a file that holds the tags you want compared. tags-in-a-file moment ๐--compare-all-tagsโ compares every single tag present in the files you're comparing. this is the default, so it's giving main character without even trying ๐--no-compare,--excludeโ whitespace- or comma-separated list of tags NOT to compare. when this is present, the tags you list get excluded from the comparison entirely ๐--compare-datablock-names--dont-compare-datablock-namesโ these two also compare the names of the CIF data blocks. Default: on. so the datablock-name comparison is already serving unless you turn it off ๐--compare-numeric _cell_length_aโ forces a numeric comparison for the given tag. literally forcing the vibe, respectfully ๐งฎ--compare-string _cell_length_aโ forces a string comparison for the given tag. same energy, different data type ๐--ignore-empty-valuesโ tags with empty values get skipped. empty is not it ๐ซฅ--no-ignore-empty-values--dont-ignore-empty-valuesโ tags with empty values DO get pulled into the comparison. this is the default, bestie โ empty values are included unless you say otherwise ๐--no-leftโ doesn't print tags that only exist in the left file. it's basically doing whatcomm -1does ๐ฏ--no-rightโ doesn't print tags that only exist in the right file. same deal ascomm -2โ๏ธ--no-commonโ doesn't print tags that have the same values in both files. if they match, they're not invited ๐ซ--folding-width 72โ sets how long the longest unfolded line is allowed to be. so like, the line-length vibe check ๐--fold-long-fields--dont-fold-long-fieldsโ folds fields that are longer than the folding width. Default: on. so the folding is already happening unless you stop it ๐-L,-uโ these two are ignored options. they exist purely so this script can be used as--diff-cmdforsvn diff. iconic behavior honestly ๐--use-perl-parserโ uses the Perl parser to parse the CIF files ๐ช--use-c-parserโ uses the C parser to parse the CIF files. this one is the default ๐ --help,--usageโ spits out a short usage message (this very message, cute) and then exits ๐ช--versionโ outputs version info and dips. bye bestie ๐
๐ญ REPORTING BUGS ๐ญ
Found a bug in cif_diff? Report it using e-mail: cod-bugs@ibt.lt ๐ง don't suffer in silence, fr fr.
okay that's the whole page, you understood all of it, I'm so proud of you ๐ซถ go compare some CIF files, you absolute legend ๐โจ
mwah ๐ โ this was CIF_DIFF(1) from the General Commands Manual, section 1, and that's the whole entire page. no notes. periodt. ๐
๐ฆ where this page comes from
- debian bookworm: cod-tools 3.7.0+dfsg-1+b3 ยท LGPL-3.0-only
- debian trixie: cod-tools 3.11.0+dfsg-1 ยท LGPL-3.0-only
- ubuntu jammy: cod-tools 3.4.0+dfsg-1build2 ยท LGPL-3.0-only
- ubuntu noble: cod-tools 3.8.1+dfsg-1build3 ยท 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