CIF2JSON(1)
π cif2json(1) β the group chat version π
okay so bestie, welcome to cif2json, a lil General Commands Manual darling that lives in your terminal and is genuinely so good at what she does. no cap. π
β¨ NAME β¨
cif2json β parse a CIF file and print out the structure generated by the CIF parser. that's it, that's the whole vibe. it reads, it parses, it spills the structure. π
πΈ SYNOPSIS πΈ
cif2json [options] input.cif [input2.cif ...]
yes you can feed her more than one file. she's flexible like that. π¦
π¦ DESCRIPTION π¦
Parse CIF file and print out the structure generated by CIF parser. literally. that's the entire job description and she ate. π₯
β¨ OPTIONS β¨
--fix-errorsβ try to fix syntax errors in the input CIF files that can be corrected unambiguously. she's a lil fixer-upper π«Ά--dont-fix-errors,--no-fix-errorsβ do not try to fix syntax errors in input CIF files. this one is the default, so if you say nothing, nothing gets fixed. π€·ββοΈ--strictβ strictly adhere to JSON syntax, i.e., make a top level list container for CIF data blocks and put comma (",") separators between consecutive CIF data blocks. very rules-following of her, we love a compliant queen π--no-strict,--relaxed,--stream,--concatenateβ print a stream of JSON objects, where an object stands for a CIF data block. such output does not include comma (",") separators between top level objects, so streaming parsers have to be used. this is the default vibe. π--canonicalβ print JSON objects with key-value pairs sorted in a canonical way. > the usage of this option is discouraged due to the added overhead. she'll do it but she will side-eye you π--no-canonicalβ print JSON object with key-value pairs sorted in the order Perl stores them. due to this, the outputs might differ between different runs of the script with identical parameters. yeah she's a lil chaotic, and this is the default. π--use-c-parserβ use Perl & C parser for CIF parsing. this is the default, the main character β¨--use-perl-parserβ use Perl parser for CIF parsing. the understudy, but valid π--help,--usageβ output a short usage message (this message) and exit. she tells you how to use her, then she leaves. iconic. π--versionβ output version information and exit. she'll tell you who she is, then dip. πΈ
π«Ά REPORTING BUGS π«Ά
found a bug? not her fault but like, tell her people fr fr. report cif2json bugs using e-mail: cod-bugs@ibt.lt π§
and that's the whole page bestie, no notes, she's perfect. this was CIF2JSON(1), section 1 of the General Commands Manual, and yes the footer is literally just her own name again because she contains multitudes. stay parsing, stay slaying, ily πβ¨π¦ππ
π¦ 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