ProtocolUnitResult
#
- class gufe.protocols.protocolunit.ProtocolUnitResult(*, name: str | None = None, source_key: GufeKey, inputs: Dict[str, Any], outputs: Dict[str, Any], start_time: datetime.datetime | None = None, end_time: datetime.datetime | None = None)#
Successful result of a single
ProtocolUnit
execution.- Parameters:
name (Optional[str]) – Name of the ProtocolUnit that produced this ProtocolUnitResult.
source_key (GufeKey) – Key of the ProtocolUnit that produced this ProtocolUnitResult
inputs (Dict[str, Any]) – Inputs to the ProtocolUnit that produced this ProtocolUnitResult. Includes any ProtocolUnitResult`s this `ProtocolUnitResult is dependent on.
outputs (Dict[str, Any]) – Outputs from the ProtocolUnit._execute that generated this ProtocolUnitResult.
start_time (datetime.datetime) – The start and end time for executing this Unit
end_time (datetime.datetime) – The start and end time for executing this Unit
Methods
Attributes
All results that this result was dependent on
The time at which execution of this Unit finished
The time execution of this Unit began
- property dependencies: list[ProtocolUnitResult]#
All results that this result was dependent on
- property end_time: datetime | None#
The time at which execution of this Unit finished
- property inputs#
- property name#
- static ok() bool #
- property outputs#
- property source_key#
- property start_time: datetime | None#
The time execution of this Unit began