parmed.exceptions module

This module contains all of the exceptions that are used in the chemistry package

exception parmed.exceptions.AmberError[source]

Bases: parmed.exceptions.ParsingError

This is a generic AmberParmError

exception parmed.exceptions.AmberWarning[source]

Bases: parmed.exceptions.ParmedWarning

If there is something that is non-fatal

exception parmed.exceptions.CharmmError[source]

Bases: parmed.exceptions.ParsingError

If there is a problem parsing CHARMM PSF files

exception parmed.exceptions.CharmmPsfEOF[source]

Bases: parmed.exceptions.ParmedError

If we hit an end-of-file in parsing CHARMM files

exception parmed.exceptions.CharmmWarning[source]

Bases: parmed.exceptions.ParmedWarning

For non-fatal PSF parsing issues

exception parmed.exceptions.FormatNotFound[source]

Bases: parmed.exceptions.ParmedError

If the file format does not have a registered parser with it

exception parmed.exceptions.GromacsError[source]

Bases: parmed.exceptions.ParmedError

If there is a problem parsing GROMACS topology files

exception parmed.exceptions.GromacsWarning[source]

Bases: parmed.exceptions.ParmedWarning

If we are uncertain about something regarding the GROMACS topology file

exception parmed.exceptions.IncompatiblePatchError[source]

Bases: parmed.exceptions.ParmedError

For when applying a PatchTemplate to a ResidueTemplate fails

exception parmed.exceptions.InputError[source]

Bases: parmed.exceptions.ParmedError

When there is an error with input

exception parmed.exceptions.MaskError[source]

Bases: parmed.exceptions.ParmedError

Error when a Mask is poorly formed

exception parmed.exceptions.Mol2Error[source]

Bases: parmed.exceptions.ParsingError

If there was a problem parsing a Mol2 file

exception parmed.exceptions.MoleculeError[source]

Bases: parmed.exceptions.ParmedError

If there is a problem defining a molecule via the bond graph

exception parmed.exceptions.OpenMMError[source]

Bases: parmed.exceptions.ParmedError

If there’s a problem making an OpenMM system

exception parmed.exceptions.OpenMMWarning[source]

Bases: parmed.exceptions.ParmedWarning

If there is something we should warn when processing OpenMM objects

exception parmed.exceptions.PDBError[source]

Bases: parmed.exceptions.ParsingError

If there was a problem parsing a PDB file

exception parmed.exceptions.PDBWarning[source]

Bases: parmed.exceptions.ParmedWarning

A non-fatal error to indicate a problematic PDB file

exception parmed.exceptions.ParameterError[source]

Bases: parmed.exceptions.ParmedError

If a parameter is missing from a database

exception parmed.exceptions.ParameterWarning[source]

Bases: parmed.exceptions.ParmedWarning

If a type of parameter is missing, but you don’t want it to be fatal

exception parmed.exceptions.ParmedError[source]

Bases: Exception

Base class for all non-trivial exceptions raised by ParmEd

exception parmed.exceptions.ParmedWarning[source]

Bases: Warning

Base class for all warnings raised by ParmEd

exception parmed.exceptions.ParsingError[source]

Bases: parmed.exceptions.ParmedError

If there was a problem parsing any kind of file

exception parmed.exceptions.PdbxError[source]

Bases: parmed.exceptions.ParmedError

Class for catching general errors with PDBx/mmCIF parsing

exception parmed.exceptions.PdbxSyntaxError(lineNumber='-1', text='')[source]

Bases: parmed.exceptions.PdbxError

Class for catching errors in mmCIF/PDBx syntax

exception parmed.exceptions.PreProcessorError[source]

Bases: parmed.exceptions.ParmedError

If there is a problem running the C-like preprocessor

exception parmed.exceptions.PreProcessorWarning[source]

Bases: parmed.exceptions.ParmedWarning

If there is something we should warn about in preprocessing

exception parmed.exceptions.ResidueError[source]

Bases: parmed.exceptions.ParmedError

For when there are problems defining a residue

exception parmed.exceptions.RosettaError[source]

Bases: parmed.exceptions.ParmedError

If there is a problem loading a Rosetta pose object

exception parmed.exceptions.SplitResidueWarning[source]

Bases: parmed.exceptions.ParmedWarning

For if a residue with the same number but different names is split

exception parmed.exceptions.TinkerError[source]

Bases: parmed.exceptions.ParsingError

Raised when one of the TINKER parsing routines hits a bad file

exception parmed.exceptions.TinkerWarning[source]

Bases: parmed.exceptions.ParmedWarning