IMP  2.0.0
The Integrative Modeling Platform
IMP.isd.AbstractGrid.Result Class Reference

A Result object is returned by a Proxy object, when some remote function invoked. More...

Inherits object.

Detailed Description

When results of the remote function calculations are ready, the .event is set and the result of calculations is stored in the .value field. These has to be done externally, for example in the Proxy object.

USAGE:

result = Result()

assigning result value

result.value = result of the function call result.event.set()

collecting the result

result.get(timeout = 60)

Note
This class is only available in Python.

Definition at line 172 of file AbstractGrid.py.


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