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