moleculekit.pdbx.reader.PdbxReader module

PDBx/mmCIF dictionary and data file parser.

Acknowledgements:

The tokenizer used in this module is modeled after the clever parser design used in the PyMMLIB package.

PyMMLib Development Group Authors: Ethan Merritt: merritt@u.washington.ed & Jay Painter: jay.painter@gmail.com See: http://pymmlib.sourceforge.net/

exception moleculekit.pdbx.reader.PdbxReader.PdbxError

Bases: Exception

Class for catch general errors

class moleculekit.pdbx.reader.PdbxReader.PdbxReader(ifh)

Bases: object

PDBx reader for data files and dictionaries.

read(containerList)

Appends to the input list of definition and data containers.

exception moleculekit.pdbx.reader.PdbxReader.SyntaxError(lineNumber, text)

Bases: Exception

Class for catching syntax errors