schrodinger.analysis.visanalysis.vdexception module

exception schrodinger.analysis.visanalysis.vdexception.VDException(msg, detail=None)

Bases: Exception

This is a simple Exception derived class used by the various VolumeData associated components to denote an error condition.

__init__(msg, detail=None)

This function creates a new VDException. The msg should describe the error condition. detail may contain a bit more information if that is appropriate.

Parameters:
  • msg (string) – The error message
  • detail (string) – Additional error detail
__str__()

This function converts this VDException to a meaningful error message that can be displayed by the Python interpreter.

__cause__

exception cause

__class__

alias of builtins.type

__context__

exception context

__delattr__

Implement delattr(self, name).

__dict__ = mappingproxy({'__module__': 'schrodinger.analysis.visanalysis.vdexception', '__doc__': '\n This is a simple Exception derived class used by the various VolumeData\n associated components to denote an error condition.\n ', '__init__': <function VDException.__init__>, '__str__': <function VDException.__str__>, '__weakref__': <attribute '__weakref__' of 'VDException' objects>})
__dir__() → list

default dir() implementation

__eq__

Return self==value.

__format__()

default object formatter

__ge__

Return self>=value.

__getattribute__

Return getattr(self, name).

__gt__

Return self>value.

__hash__

Return hash(self).

__init_subclass__()

This method is called when a class is subclassed.

The default implementation does nothing. It may be overridden to extend subclasses.

__le__

Return self<=value.

__lt__

Return self<value.

__module__ = 'schrodinger.analysis.visanalysis.vdexception'
__ne__

Return self!=value.

__new__()

Create and return a new object. See help(type) for accurate signature.

__reduce__()

helper for pickle

__reduce_ex__()

helper for pickle

__repr__

Return repr(self).

__setattr__

Implement setattr(self, name, value).

__setstate__()
__sizeof__() → int

size of object in memory, in bytes

__subclasshook__()

Abstract classes can override this to customize issubclass().

This is invoked early on by abc.ABCMeta.__subclasscheck__(). It should return True, False or NotImplemented. If it returns NotImplemented, the normal algorithm is used. Otherwise, it overrides the normal algorithm (and the outcome is cached).

__suppress_context__
__traceback__
__weakref__

list of weak references to the object (if defined)

args
with_traceback()

Exception.with_traceback(tb) – set self.__traceback__ to tb and return self.