aiida.work.legacy package¶
Submodules¶
-
class
aiida.work.legacy.job_process.
JobProcess
[source]¶ Bases:
aiida.work.process.Process
-
CALC_NODE_LABEL
= 'calc_node'¶
-
OPTIONS_INPUT_LABEL
= '_options'¶
-
_CALC_CLASS
= None¶
-
__abstractmethods__
= frozenset([])¶
-
__module__
= 'aiida.work.legacy.job_process'¶
-
_abc_cache
= <_weakrefset.WeakSet object>¶
-
_abc_negative_cache
= <_weakrefset.WeakSet object>¶
-
_abc_negative_cache_version
= 95¶
-
_abc_registry
= <_weakrefset.WeakSet object>¶
-
_on_output_emitted
(output_port, value, dynamic)[source]¶ The process has emitted a value on the given output port.
Parameters: - output_port – The output port name the value was emitted on
- value – The value emitted
- dynamic – Was the output port a dynamic one (i.e. not known beforehand?)
-
calculation_finished
(wait_on)[source]¶ The callback function that is called when the remote calculation is finished.
Parameters: wait_on ( aiida.work.legacy.wait_on.WaitOnJobCalculation
) – The original WaitOnJobCalculation object.
-
-
class
aiida.work.legacy.wait_on.
WaitOnJobCalculation
(callback_name, pk)[source]¶ Bases:
plum.wait.WaitOn
-
PK
= 'pk'¶
-
__abstractmethods__
= frozenset([])¶
-
__module__
= 'aiida.work.legacy.wait_on'¶
-
_abc_cache
= <_weakrefset.WeakSet object>¶
-
_abc_negative_cache
= <_weakrefset.WeakSet object>¶
-
_abc_negative_cache_version
= 95¶
-
_abc_registry
= <_weakrefset.WeakSet object>¶
-
-
class
aiida.work.legacy.wait_on.
WaitOnWorkflow
(callback, pk)[source]¶ Bases:
plum.wait.WaitOn
-
PK
= 'pk'¶
-
__abstractmethods__
= frozenset([])¶
-
__module__
= 'aiida.work.legacy.wait_on'¶
-
_abc_cache
= <_weakrefset.WeakSet object>¶
-
_abc_negative_cache
= <_weakrefset.WeakSet object>¶
-
_abc_negative_cache_version
= 95¶
-
_abc_registry
= <_weakrefset.WeakSet object>¶
-