exceptions

exception pyrosetta.distributed.cluster.exceptions.InputError(obj: Any, attribute: str)

Bases: TypeError

Exception raised for PyRosettaCluster keyword argument value errors for str and int types.

__init__(obj: Any, attribute: str) None
add_note()

Exception.add_note(note) – add a note to the exception

args
with_traceback()

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

exception pyrosetta.distributed.cluster.exceptions.InputFileError(obj: Any)

Bases: TypeError

Exception raised for PyRosettaCluster errors for str types.

__init__(obj: Any) None
add_note()

Exception.add_note(note) – add a note to the exception

args
with_traceback()

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

exception pyrosetta.distributed.cluster.exceptions.OutputError(obj: Any)

Bases: TypeError

Exception raised for user-defined PyRosetta protocol output errors.

__init__(obj: Any) None
add_note()

Exception.add_note(note) – add a note to the exception

args
with_traceback()

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

exception pyrosetta.distributed.cluster.exceptions.WorkerError(protocol_name: str)

Bases: WorkerLostError

Exception raised for Dask worker errors.

__init__(protocol_name: str) None
static _msg(protocol_name: str) str
static _ignore_errors_msg(protocol_name: str) str
static _get_msg(protocol_name: str, ignore_errors: bool) str
add_note()

Exception.add_note(note) – add a note to the exception

args
with_traceback()

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

exception pyrosetta.distributed.cluster.exceptions.TaskCancelledError(key: str, extra_msg: str)

Bases: RuntimeError

Exception raised for Dask CancelledError exceptions.

__init__(key: str, extra_msg: str) None
add_note()

Exception.add_note(note) – add a note to the exception

args
with_traceback()

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

pyrosetta.distributed.cluster.exceptions.trace_protocol_exceptions(func: CallableType) CallableType

Trace exceptions in user-defined PyRosetta protocols.

pyrosetta.distributed.cluster.exceptions.trace_subprocess_exceptions(func: CallableType) CallableType

Trace exceptions in billiard subprocesses.