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 what comm -1 does ๐Ÿ‘ฏ
  • --no-right โ€” doesn't print tags that only exist in the right file. same deal as comm -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-cmd for svn 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. ๐Ÿ‘‘