IMP logo
IMP Reference Guide  2.18.0
The Integrative Modeling Platform
workerstate.py
1 class WorkerState:
2 
3  def __init__(self, desc):
4  self.desc = desc
5 
6 
7 init = WorkerState("Initial state")
8 started = WorkerState("Started, but not yet connected back to manager")
9 connected = WorkerState("Connected, with no active task")
10 running_task = WorkerState("Connected, and running a task")
11 dead = WorkerState("Disconnected due to failure")