forgi 2.0.0 documentation

«  forgi.utilities.debug module   ::   Contents   ::   forgi.utilities.graph module  »

forgi.utilities.exceptions module

A module where all costum exceptions should be defines.

We put exceptions into this seperate module, so they can be imported everywhere without risking circular imports

exception forgi.utilities.exceptions.CgConstructionError[source]

Bases: forgi.utilities.exceptions.GraphConstructionError

Exceptions raised if the CoarseGrainRNA could be constructed from the given input.

Raised for Errors related to the 3D information.

exception forgi.utilities.exceptions.CgIntegrityError[source]

Bases: forgi.utilities.exceptions.GraphIntegrityError

Exception raised if a BulgeGraphCoarseGrainRNA was found to be in an inconsistent or faulty state, related to the 3D Information

exception forgi.utilities.exceptions.GraphConstructionError[source]

Bases: exceptions.ValueError

Exceptions raised if the BulgeGraph could be constructed from the given input.

exception forgi.utilities.exceptions.GraphIntegrityError[source]

Bases: exceptions.ValueError

Exception raised if a BulgeGraph was found to be in an inconsistent or faulty state.

«  forgi.utilities.debug module   ::   Contents   ::   forgi.utilities.graph module  »