home
about
news
download
doc
source
systems
tests
bugs
contact
IMP Reference Guide
develop.63b38c487d,2024/12/22
The Integrative Modeling Platform
IMP Manual
Reference Guide
Tutorial Index
Modules
Classes
Examples
lib
IMP
parallel
version 20241222.develop.63b38c487d
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"
)