Rosetta
|
Classes | |
class | Serialization |
Functions | |
Optional[Union[str, bool]] | _parse_compression (Any obj) |
PackedPose | update_scores (PackedPose packed_pose) |
Variables | |
string | __author__ = "Jason C. Klima" |
T = TypeVar("T", bound=Callable[..., Any]) | |
G = TypeVar("G") | |
|
private |
Parse the input `compression` attribute of `Serialization` class.
PackedPose pyrosetta.distributed.cluster.serialization.update_scores | ( | PackedPose | packed_pose | ) |
Cache scores into the `PackedPose` object that are not cached in the `Pose` object and do not have keys with reserved scoretypes, then return the updated `PackedPose` object. Args: packed_pose: the input `PackedPose` object in which to update scores. Returns: A new `PackedPose` object with scores cached in its `Pose` object if scores could be cached, otherwise the input `PackedPose` object.
References set().
Referenced by pyrosetta.distributed.cluster.serialization.Serialization.compress_packed_pose(), and pyrosetta.tests.distributed.cluster.test_smoke.SerializationTest.test_serialization().
|
private |
pyrosetta.distributed.cluster.serialization.G = TypeVar("G") |
pyrosetta.distributed.cluster.serialization.T = TypeVar("T", bound=Callable[..., Any]) |