pycgtool.parsers.cfg¶
Module containing classes used to parse custom CFG file format.
Format is based upon GROMACS .itp files but does not support nesting of sections.
Module Contents¶
Attributes¶
-
pycgtool.parsers.cfg.PathLike¶
-
exception
pycgtool.parsers.cfg.DuplicateSectionError(section, filename)[source]¶ Bases:
KeyErrorException used to indicate that a section has appeared twice in a file.
-
exception
pycgtool.parsers.cfg.NoSectionError(filename)[source]¶ Bases:
KeyErrorException used to indicate that a file contains no sections.