exceptions¶
- exception pyrosetta.distributed.cluster.exceptions.InputError(obj: Any, attribute: str)¶
Bases:
TypeErrorException raised for PyRosettaCluster keyword argument value errors for str and int types.
- 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:
TypeErrorException raised for PyRosettaCluster errors for str types.
- 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:
TypeErrorException raised for user-defined PyRosetta protocol output errors.
- 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:
WorkerLostErrorException raised for Dask worker errors.
- 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:
RuntimeErrorException raised for Dask CancelledError exceptions.
- 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.