converters¶
- pyrosetta.distributed.cluster.converters._parse_filter_results(obj: Any) bool¶
Parse the filter_results keyword argument value of PyRosettaCluster.
- pyrosetta.distributed.cluster.converters._parse_decoy_ids(objs: Any) List[int]¶
Parse the decoy_ids keyword argument value of PyRosettaCluster.
- pyrosetta.distributed.cluster.converters._parse_empty_queue(protocol_name: str, ignore_errors: bool) None¶
Return None when a PyRosetta protocol raises an exception and the ignore_errors instance attribute of PyRosettaCluster is set to True.
- pyrosetta.distributed.cluster.converters._parse_environment(obj: Any) str¶
Parse the environment keyword argument value of PyRosettaCluster.
- pyrosetta.distributed.cluster.converters._parse_protocols(objs: Any) List[Callable[[...], Union[Pose, PackedPose, Dict[str, Any], None, List[Optional[Union[Pose, PackedPose, Dict[str, Any]]]], Tuple[Optional[Union[Pose, PackedPose, Dict[str, Any]]], ...], Generator[Optional[Union[Pose, PackedPose, Dict[str, Any]]], None, None]]]]¶
Parse the protocols argument values from the PyRosettaCluster.distribute method.
- pyrosetta.distributed.cluster.converters._parse_yield_results(yield_results: Any) bool¶
Parse the yield_results keyword argument value of PyRosettaCluster.
- pyrosetta.distributed.cluster.converters._parse_norm_task_options(obj: Any) bool¶
Parse the norm_task_options keyword argument value of PyRosettaCluster.
- pyrosetta.distributed.cluster.converters._parse_pyrosetta_build(obj: Any) str¶
Parse the pyrosetta_build keyword argument value of PyRosettaCluster.
- pyrosetta.distributed.cluster.converters._parse_scratch_dir(obj: Any) str¶
Parse the scratch_dir keyword argument value of PyRosettaCluster.
- pyrosetta.distributed.cluster.converters._parse_seeds(objs: Any) List[str]¶
Parse the seeds keyword argument value of PyRosettaCluster.
- pyrosetta.distributed.cluster.converters._parse_sha1(obj: Any) str¶
Parse the sha1 keyword argument value of PyRosettaCluster.
- pyrosetta.distributed.cluster.converters._parse_system_info(obj: Any) Dict[Any, Any]¶
Parse the input system_info keyword argument value of PyRosettaCluster.
- pyrosetta.distributed.cluster.converters._parse_logging_address(self) str¶
Parse the input logging_address keyword argument value of PyRosettaCluster.
- pyrosetta.distributed.cluster.converters._get_decoy_id(protocols: Sized, decoy_ids: List[int]) Optional[int]¶
Return the decoy identification number given the user-defined PyRosetta protocols.
- pyrosetta.distributed.cluster.converters._is_reserved_key(key: Any) bool¶
Test if a task dictionary key is a PyRosettaCluster reserved key.
- pyrosetta.distributed.cluster.converters._parse_output_kwargs(output_kwargs: Dict[str, Any], input_kwargs: Dict[str, Any], protocol_name: str) Dict[str, Any]¶
Parse a returned task dictionary from a user-defined PyRosetta protocol.
- pyrosetta.distributed.cluster.converters._get_packed_poses_output_kwargs(result: Any, input_kwargs: Dict[str, Any], protocol_name: str) Tuple[List[PackedPose], Dict[str, Any]]¶
Bin results from a user-defined PyRosetta protocol.
- pyrosetta.distributed.cluster.converters._get_compressed_packed_pose_kwargs_pairs_list(packed_poses: List[PackedPose], output_kwargs: Dict[str, Any], protocol_name: str, protocols_key: str, decoy_ids: List[int], serializer: Serialization) List[Tuple[bytes, bytes]]¶
Prepare results from a user-defined PyRosetta protocol to put into the queue.
- pyrosetta.distributed.cluster.converters._parse_protocol_results(result: Any, input_kwargs: Dict[str, Any], protocol_name: str, protocols_key: str, decoy_ids: List[int], serializer: Serialization) List[Tuple[bytes, bytes]]¶
Parse results from a user-defined PyRosetta protocol.
- pyrosetta.distributed.cluster.converters._parse_target_results(objs: List[Tuple[bytes, bytes]]) List[Tuple[bytes, bytes]]¶
Validate results returned from the billiard subprocess.
- pyrosetta.distributed.cluster.converters._parse_tasks(objs: Any) List[Dict[str, Any]]¶
Parse the tasks keyword argument value of PyRosettaCluster.
- pyrosetta.distributed.cluster.converters._parse_output_decoy_types(objs: Any) List[str]¶
Parse the output_decoy_types keyword argument value of PyRosettaCluster.
- pyrosetta.distributed.cluster.converters._parse_output_scorefile_types(objs: Any) List[str]¶
Parse the output_scorefile_types keyword argument value of PyRosettaCluster.
- pyrosetta.distributed.cluster.converters._version_tuple_to_str(version_tuple: Tuple[int, int, int]) str¶
Return a version string from a version tuple.