home
about
news
download
doc
source
systems
tests
bugs
contact
IMP Reference Guide
2.20.2
The Integrative Modeling Platform
IMP Manual
Reference Guide
Tutorial Index
Modules
Classes
Examples
lib
IMP
parallel
version 2.20.2
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"
)