CIF_EVAL_NUMBERS(1)
π CIF_EVAL_NUMBERS β the girlies are evaluating numbers π
okay so bestie, this is a page from the General Commands Manual (section 1, we love a section 1) and it's about cif_eval_numbers, which is genuinely such a useful little icon. let me put you on. π«Ά
β¨ NAME β¨
cif_eval_numbers β read a CIF file and convert those number values that are written as simple fractions (e.g. "1/4") into a single floating point number.
like. it literally reads your CIF, spots the cute little fraction numbers like "1/4", and turns them into one actual floating point number. that's the whole job. she's focused, she's employed, she's thriving. π
π SYNOPSIS π
cif_eval_numbers --options input1.cif input*.cif
so you run it with your options, then one or more CIF files β and yes you can absolutely wildcard it with input*.cif, go off. β¨
π¦ DESCRIPTION π¦
Read a CIF file and convert those number values that are written as simple fractions (e.g. "1/4") into a single floating point number.
that's it, that's the vibe. no cap. π
π OPTIONS π
-d,--dictionary cif_core.dicβ use the specified DDL1 dictionary for determining which values are numeric. so like, the dictionary is the one deciding who counts as a number around here. gatekeeping, honestly, but valid. π-t,--tags-to-fix _tag_1,_tag_2,_tag_3β specify an explicit list of tags that should be evaluated as numeric, without relying on a dictionary. no middleman, no committee, just you picking the tags yourself. main character energy fr fr.--fix-syntax-errorsβ try to fix those syntax errors in input CIFs that can be corrected unambiguously. she's a fixer, but only when there's exactly one possible fix. no guessing. π--no-fix-syntax-errors,β the no-fix option, spelled this way.--dont-fix-syntax-errorsβ do not try to fix syntax errors in input CIFs (default). she leaves the mess exactly as she found it. respectfully. π--use-perl-parserβ use development CIF parser written in Perl.--use-c-parserβ use faster C/Yacc CIF parser (default). speed. she's fast. π₯--debugβ enable debug messages.--no-debugβ disable debug messages (default).--help,--usageβ output a short usage message (this message) and exit. our girl is so helpful.--versionβ output version information and exit.
π REPORTING BUGS π
found a bug? first of all, deep breaths. then report cif_eval_numbers bugs using e-mail:
cod-bugs@ibt.lt
she wants to hear from you. she wants to grow. πΈ
lowkey remember: the two parser flags are a whole vibe check β--use-c-parseris the default and it's the fast one,--use-perl-parseris the development one. pick wisely bestie. π§
okay so that's the whole page β cif_eval_numbers from the General Commands Manual, page CIF_EVAL_NUMBERS(1), and the footer on this one was literally just the title again, CIF_EVAL_NUMBERS(1), same as the header. periodt. go evaluate some numbers. slay. πβπ
π¦ 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