Skip to content

Exceptions and Warnings

The REvoDesign.issues module defines the application's exception and warning hierarchy. All custom exceptions inherit from REvoDesignException and all custom warnings inherit from REvoDesignWarning.

Exception Hierarchy

REvoDesign.issues.exceptions.REvoDesignException

Bases: Exception

Base class for all exceptions in the REvoDesign application.

Direct subclasses of REvoDesignException

REvoDesign.issues.exceptions.InternalError

Bases: REvoDesignException

Exception raised for internal errors that develops during the execution of the program.

REvoDesign.issues.exceptions.ConfigurationError

Bases: REvoDesignException

Exception raised for errors in configuration.

REvoDesign.issues.exceptions.PluginError

Bases: REvoDesignException

Exception raised for errors related to the PyMOL plugin.

REvoDesign.issues.exceptions.EnzymeDesignError

Bases: REvoDesignException

Exception raised for errors during enzyme design.

REvoDesign.issues.exceptions.DependencyError

Bases: REvoDesignException

Exception raised for errors related to uninstalled dependency

REvoDesign.issues.exceptions.ConfigureError

Bases: REvoDesignException

Exception raised for errors related to configuration file

REvoDesign.issues.exceptions.ConfigureOutofDateError

Bases: ConfigureError

Exception raised for errors related to out-of-date configuration file

REvoDesign.issues.exceptions.UnexpectedWorkflowError

Bases: REvoDesignException

Exception raised when an analysis is not run as expected workflow

REvoDesign.issues.exceptions.UnauthorizedError

Bases: REvoDesignException

Exception raised when a user is not authorized

REvoDesign.issues.exceptions.SocketError

Bases: REvoDesignException

Exception raised during a socket connection

REvoDesign.issues.exceptions.UnsupportedDataTypeError

Bases: SocketError

Exception raised when requiring sending unsupported data type

REvoDesign.issues.exceptions.FobbidenDataTypeError

Bases: SocketError

Exception raised when requiring sending fobbiden data type

REvoDesign.issues.exceptions.FileFormatError

Bases: REvoDesignException

Exception raised when a file format is incorrect or unsupported

REvoDesign.issues.exceptions.BadDataError

Bases: REvoDesignException

Exception raised when a data is bad

Subclasses of ValueError

REvoDesign.issues.exceptions.NoInputError

Bases: ValueError

Exception raised when an input is missing

REvoDesign.issues.exceptions.EmptySessionError

Bases: ValueError

Exception raised when the current session is empty

REvoDesign.issues.exceptions.InvalidInputError

Bases: ValueError

Exception raised when an input is invalid

REvoDesign.issues.exceptions.MoleculeError

Bases: InvalidInputError

Exception raised when a molecule uses fuzzy chain id

REvoDesign.issues.exceptions.UnknownWidgetError

Bases: ValueError

Exception raised when a widget is not defined

REvoDesign.issues.exceptions.NoResultsError

Bases: ValueError

Exception raised for no results

REvoDesign.issues.exceptions.MoleculeUnloadedError

Bases: NoInputError

Exception raised when no molecule is loaded

Other exceptions

REvoDesign.issues.exceptions.PluginNotImplementedError

Bases: NotImplementedError

Exception raised when the plugin is not implemented

REvoDesign.issues.exceptions.NetworkError

Bases: ConnectionAbortedError

Exception raised when a network error occurs

REvoDesign.issues.exceptions.UninstalledPackageError

Bases: Exception

Exception raised when a package is not installed

REvoDesign.issues.exceptions.MissingExternalToolError

Bases: Exception

Exception raised when a required external tool is not installed

Warning Hierarchy

REvoDesign.issues.warnings.REvoDesignWarning

Bases: Warning

Base class for all warnings in the REvoDesign application.

Direct subclasses of REvoDesignWarning

REvoDesign.issues.warnings.PerformanceWarning

Bases: REvoDesignWarning

Warning raised for potential performance issues.

REvoDesign.issues.warnings.REvoDesignSessionsWarning

Bases: REvoDesignWarning

Warning raised for PyMOL sessions used by REvoDesign

REvoDesign.issues.warnings.CoevolveAnalysisWarning

Bases: REvoDesignWarning

Warning raised for GREMLIN Tools

REvoDesign.issues.warnings.BadDataWarning

Bases: REvoDesignWarning

Warning raised for discarding bad data

REvoDesign.issues.warnings.NoResultsWarning

Bases: REvoDesignWarning

Warning raised for no results

REvoDesign.issues.warnings.REvoDesignWidgetWarning

Bases: REvoDesignWarning

Warning raised for Qt Widgets

REvoDesign.issues.warnings.AlreadyDisconnectedWarning

Bases: REvoDesignWidgetWarning

Warning raised for disconnect trials from QtWidget signals

REvoDesign.issues.warnings.DisabledFunctionWarning

Bases: REvoDesignWarning

Warning raised for disabled functions

REvoDesign.issues.warnings.NoInputWarning

Bases: REvoDesignWarning

Warning raised when an input is missing

REvoDesign.issues.warnings.EmptySessionWarning

Bases: REvoDesignWarning

Warning raised when the current session is empty

REvoDesign.issues.warnings.InvalidSessionWarning

Bases: REvoDesignWarning

Warning raised when the current session is invalid

REvoDesign.issues.warnings.FallingBackWarning

Bases: REvoDesignWarning

Warning raised when failing back to default behavior from failed imports

REvoDesign.issues.warnings.CrystalStructureWarning

Bases: REvoDesignWarning

Warning raised when a crystal structure is detected

REvoDesign.issues.warnings.ResidueMissingWarning

Bases: CrystalStructureWarning

Warning raised when reading molecule sequence from a crystal structure

REvoDesign.issues.warnings.OverridesWarning

Bases: REvoDesignWarning

Warning raised when overriding something

REvoDesign.issues.warnings.SocketWarning

Bases: REvoDesignWarning

Warning about a socket event

REvoDesign.issues.warnings.SocketUserAlreadyExists

Bases: SocketWarning

Warning raised when socket user exists in the meething room

REvoDesign.issues.warnings.SocketMessageOverflow

Bases: SocketWarning

Warning raised when a socket message overflows

REvoDesign.issues.warnings.SocketMeetingRoomIsEmpty

Bases: SocketWarning

Warning raised when a socket has no client

REvoDesign.issues.warnings.MissingExternalTool

Bases: REvoDesignWarning

Warning raised when a external tool is missing

REvoDesign.issues.warnings.MoleculeWarning

Bases: NoInputWarning

Warning raised when a molecule uses fuzzy chain id

Subclasses of RuntimeWarning (not REvoDesignWarning)

REvoDesign.issues.warnings.ConflictWarning

Bases: RuntimeWarning

Warning raised for existed configuration conflicts against runtime program

REvoDesign.issues.warnings.PlatformNotSupportedWarning

Bases: RuntimeWarning

Warning raised when a platform is not supported

REvoDesign.issues.warnings.AppleSiliconRosetta2Warning

Bases: PlatformNotSupportedWarning

Warning raised if PyMOL is run under Rosetta2 translation

REvoDesign.issues.warnings.CIRunnerWarning

Bases: PlatformNotSupportedWarning

Warning raised when a CI Runner is detected by unexpected platform behaviours are catched