table of contents
cifparse() | cifparse() |
NAME¶
cifparse - Parse CIF file(s), check syntax, and optionally output pretty-printed data
SYNOPSIS¶
src/components/codcif/cifparse --options < input.cif
src/components/codcif/cifparse --options input.cif
src/components/codcif/cifparse --options input1.cif input2.cif inputs*.cif
DESCRIPTION¶
Parse CIF file(s), check syntax, and optionally output pretty-printed data
OPTIONS¶
-c, --compile-only
Only compile the CIF (check syntax). Prints out file name and
'OK' or 'FAILED' to STDOUT, along with error messages to STDERR
-f, --fix-syntax
Attempt to fix some errors in inputs CIFs, such as missing data_
headers or unterminated quoted strings
-p, --print
Print out data in CIF format (a kind of CIF pretty-printer ;)
-d, --debug lex,yacc
Specify one or several (comma-separated) debgging options.
Currently supported options are:
dump -- dump internal data structures for inspection
lex -- switch on (F)LEX token printout
yacc -- ask YACC/BISON to tell us which rules they reduce
yylval -- print out YACC/BISON's yylval
text -- dump the percieved input file text
code -- dump intermediate CIF code representation
-l, --line-length-limit 80
Set the maximum line length for --report-long checks
-w, --dataname-length-limit 74
Set the maximum tag length for --report-long checks
-q, --quiet Be quiet, only output error messages and data
-q-, --no-quiet, --verbose Produce verbose output of the parsing process
-r, --report-long-items Report CIF items (lines, data names) that are longer than mandated by the standard
-r-, --do-not-report-long-items Ignore long items in CIF, process all data
-s, --suppress-errors Suppress error messages from the parser
-s-, --do-not-suppress-errors Print parser messages to STDERR (default)
-M, --dump-messages Do not use accumulated CIF messages (default)
-M-, --do-not-dump-messages Dump accumulated message texts from the CIF object
-u, --unfold-lines Unfold long lines (default)
-u-, --do-not-unfold-lines Leave folded lines as they are
--version Print program version (SVN Id) and exit
--help Print short usage message (this message) and exit
REPORTING BUGS¶
Report cifparse bugs using e-mail: cod-bugs@ibt.lt