converters¶
- pyrosetta.distributed.cluster.converters._parse_filter_results(obj: Any) Union[bool, NoReturn] ¶
Parse the input filter_results attribute of PyRosettaCluster.
- pyrosetta.distributed.cluster.converters._parse_decoy_ids(objs: Any) List[int] ¶
Normalize user-provided PyRosetta ‘decoy_ids’ to a list object containing int objects.
- pyrosetta.distributed.cluster.converters._parse_empty_queue(protocol_name: str, ignore_errors: bool) None ¶
Return a None object when a protocol results in an error with ignore_errors=True.
- pyrosetta.distributed.cluster.converters._parse_environment(obj: Any) Union[str, NoReturn] ¶
Parse the input environment attribute of PyRosettaCluster.
- pyrosetta.distributed.cluster.converters._parse_protocols(objs: Any) Union[List[Union[Callable[[...], Any], Iterable[Any]]], NoReturn] ¶
Parse the protocols argument parameters from the PyRosettaCluster().distribute() method.
- pyrosetta.distributed.cluster.converters._parse_yield_results(yield_results: Any) Union[bool, NoReturn] ¶
- pyrosetta.distributed.cluster.converters._parse_norm_task_options(obj: Any) Union[bool, NoReturn] ¶
Parse the input norm_task_options attribute of PyRosettaCluster.
- pyrosetta.distributed.cluster.converters._parse_pyrosetta_build(obj: Any) Union[str, NoReturn] ¶
Parse the PyRosetta build string.
- pyrosetta.distributed.cluster.converters._parse_scratch_dir(obj: Any) Union[str, NoReturn] ¶
Parse the input scratch_dir attribute of PyRosettaCluster.
- pyrosetta.distributed.cluster.converters._parse_seeds(objs: Any) List[str] ¶
Normalize user-provided PyRosetta ‘seeds’ to a list object containing str objects.
- pyrosetta.distributed.cluster.converters._parse_sha1(obj: Any) Union[str, NoReturn] ¶
Parse the input sha1 attribute of PyRosettaCluster.
- pyrosetta.distributed.cluster.converters._parse_system_info(obj: Any) Union[Dict[Any, Any], NoReturn] ¶
Parse the input system_info attribute of PyRosettaCluster.
- pyrosetta.distributed.cluster.converters._parse_logging_address(self) str ¶
- pyrosetta.distributed.cluster.converters._get_decoy_id(protocols: Sized, decoy_ids: List[int]) Optional[int] ¶
Get the decoy number given the user-provided PyRosetta protocols.
- pyrosetta.distributed.cluster.converters._get_packed_poses_output_kwargs(result: Any, input_kwargs: Dict[Any, Any], protocol_name: str) Tuple[List[PackedPose], Dict[Any, Any]] ¶
- pyrosetta.distributed.cluster.converters._get_compressed_packed_pose_kwargs_pairs_list(packed_poses: List[PackedPose], output_kwargs: Dict[Any, Any], protocol_name: str, protocols_key: str, decoy_ids: List[int], serializer: S) List[Tuple[bytes, bytes]] ¶
- pyrosetta.distributed.cluster.converters._parse_protocol_results(result: Any, input_kwargs: Dict[Any, Any], protocol_name: str, protocols_key: str, decoy_ids: List[int], serializer: S) List[Tuple[bytes, bytes]] ¶
Parse results from the user-provided PyRosetta protocol.
- pyrosetta.distributed.cluster.converters._parse_target_results(objs: List[Tuple[bytes, bytes]]) List[Tuple[bytes, bytes]] ¶
Parse results returned from the spawned thread.
- pyrosetta.distributed.cluster.converters._parse_tasks(objs: Any) Union[List[Dict[Any, Any]], NoReturn] ¶
Parse the input tasks attribute of PyRosettaCluster.
- pyrosetta.distributed.cluster.converters._parse_output_decoy_types(objs: Any) Union[List[str], NoReturn] ¶
Parse the input output_decoy_types attribute of PyRosettaCluster.
- pyrosetta.distributed.cluster.converters._parse_output_scorefile_types(objs: Any) Union[List[str], NoReturn] ¶
Parse the input output_scorefile_types attribute of PyRosettaCluster.