ihm.format_bcif Python module¶
Utility classes to handle BinaryCIF format.
See https://github.com/dsehnal/BinaryCIF for a description of the BinaryCIF file format.
This module provides classes to read in and write out BinaryCIF files. It is
only concerned with handling syntactically correct BinaryCIF -
it does not know the set of tables or the mapping to ihm objects. For that,
Write information to a BinaryCIF file. See
ihm.format.CifWriterfor more information. The constructor takes a single argument - a Python filelike object, open for writing in binary mode.
BinaryCifReader(fh, category_handler, unknown_category_handler=None, unknown_keyword_handler=None)¶
Class to read a BinaryCIF file and extract some or all of its data.
Read the file and extract data. :return: True iff more data blocks are available to be read.