Skip to content
Draft
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
20 changes: 18 additions & 2 deletions gufe/protocols/protocol.py
Original file line number Diff line number Diff line change
Expand Up @@ -71,10 +71,26 @@ def data(self) -> dict[str, Any]:
return self._data

@abc.abstractmethod
def get_estimate(self) -> Quantity: ...
def get_estimate(self) -> Quantity:
"""Return the best possible estimate of the free energy difference
given the preserved data.

"""
...

@abc.abstractmethod
def get_uncertainty(self) -> Quantity: ...
def get_uncertainty(self) -> Quantity:
"""Return the uncertainty in the estimate returned by :meth:`get_estimate`.

"""
...

def get_convergence(self) -> Quantity:

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This really doesn't make any sense to me. I just can't see this being widely applicable. In fact, even get_uncertainty is broken and needs a whole rethink.

"""Return the uncertainty in the estimate as a function of increasing
`ProtocolDAGResult` inclusion.

"""
raise NotImplementedError


class Protocol(GufeTokenizable):
Expand Down
Loading