Rosetta
Private Member Functions | List of all members
pyrosetta.distributed.cluster.base.TaskBase Class Reference
Inheritance diagram for pyrosetta.distributed.cluster.base.TaskBase:
Inheritance graph
[legend]

Private Member Functions

Optional[str_get_seed (self, Sized protocols)
 
Tuple[List[Callable[..., Any]], Callable[..., Any], Optional[str]] _get_task_state (self, List[Callable[..., Any]] protocols)
 
Tuple[bytes, Dict[str, Any]] _setup_initial_kwargs (self, List[Callable[..., Any]] protocols, Optional[str] seed, Dict[Any, Any] task)
 
Dict[str, Any] _setup_pyrosetta_init_kwargs (self, Dict[Any, Any] kwargs)
 
int _get_clients_index (self, List[int] clients_indices, List[Callable[..., Any]] protocols)
 
Optional[Dict[Any, Any]] _get_resource (self, List[Dict[Any, Any]] resources, List[Callable[..., Any]] protocols)
 
Tuple[bytes, Dict[str, Any], Callable[..., Any], int, Optional[Dict[Any, Any]]] _setup_kwargs (self, Dict[Any, Any] kwargs, List[int] clients_indices, Optional[Dict[Any, Any]] resources)
 
Dict[Any, Any] _setup_seed (self, Dict[Any, Any] kwargs, Optional[str] seed)
 
Tuple[List[Callable[..., Any]], Callable[..., Any], Optional[str], int, Optional[Dict[Any, Any]]] _setup_protocols_protocol_seed (self, Tuple[Any,...] args, Any protocols, Any clients_indices, Any resources)
 

Detailed Description

Task objects underpinning PyRosettaCluster.

Member Function Documentation

◆ _get_clients_index()

int pyrosetta.distributed.cluster.base.TaskBase._get_clients_index (   self,
List[int]  clients_indices,
List[Callable[..., Any]]   protocols 
)
private

◆ _get_resource()

Optional[Dict[Any, Any]] pyrosetta.distributed.cluster.base.TaskBase._get_resource (   self,
List[Dict[Any, Any]]  resources,
List[Callable[..., Any]]   protocols 
)
private

◆ _get_seed()

Optional[str] pyrosetta.distributed.cluster.base.TaskBase._get_seed (   self,
Sized  protocols 
)
private
Get the seed for the input user-provided PyRosetta protocol.

References ObjexxFCL.len(), and pyrosetta.distributed.cluster.core.PyRosettaCluster.seeds.

Referenced by pyrosetta.distributed.cluster.base.TaskBase._get_task_state().

◆ _get_task_state()

Tuple[List[Callable[..., Any]], Callable[..., Any], Optional[str]] pyrosetta.distributed.cluster.base.TaskBase._get_task_state (   self,
List[Callable[..., Any]]   protocols 
)
private
Given the current state of protocols, returns a tuple of the updated
state of protocols and current protocol and seed.

References pyrosetta.distributed.cluster.base.TaskBase._get_seed().

Referenced by pyrosetta.distributed.cluster.base.TaskBase._setup_kwargs(), and pyrosetta.distributed.cluster.base.TaskBase._setup_protocols_protocol_seed().

◆ _setup_initial_kwargs()

Tuple[bytes, Dict[str, Any]] pyrosetta.distributed.cluster.base.TaskBase._setup_initial_kwargs (   self,
List[Callable[..., Any]]  protocols,
Optional[str seed,
Dict[Any, Any]  task 
)
private

◆ _setup_kwargs()

Tuple[bytes, Dict[str, Any], Callable[..., Any], int, Optional[Dict[Any, Any]]] pyrosetta.distributed.cluster.base.TaskBase._setup_kwargs (   self,
Dict[Any, Any]  kwargs,
List[int]  clients_indices,
Optional[Dict[Any, Any]]  resources 
)
private

◆ _setup_protocols_protocol_seed()

Tuple[List[Callable[..., Any]], Callable[..., Any], Optional[str], int, Optional[Dict[Any, Any]]] pyrosetta.distributed.cluster.base.TaskBase._setup_protocols_protocol_seed (   self,
Tuple[Any, ...]  args,
Any  protocols,
Any  clients_indices,
Any  resources 
)
private

◆ _setup_pyrosetta_init_kwargs()

Dict[str, Any] pyrosetta.distributed.cluster.base.TaskBase._setup_pyrosetta_init_kwargs (   self,
Dict[Any, Any]  kwargs 
)
private

◆ _setup_seed()

Dict[Any, Any] pyrosetta.distributed.cluster.base.TaskBase._setup_seed (   self,
Dict[Any, Any]  kwargs,
Optional[str seed 
)
private
Setup the 'options' or 'extra_options' task kwargs with the `-run:jran`
PyRosetta command line flag.

References pyrosetta.distributed._normflags().

Referenced by pyrosetta.distributed.cluster.base.TaskBase._setup_initial_kwargs(), and pyrosetta.distributed.cluster.base.TaskBase._setup_kwargs().


The documentation for this class was generated from the following file: