Skip to content

Commit

Permalink
fixup execute_DAG docs to not raise warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
richardjgowers committed May 8, 2023
1 parent 7a13282 commit fd7231d
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 8 deletions.
2 changes: 1 addition & 1 deletion gufe/protocols/protocol.py
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ class Protocol(GufeTokenizable):
Takes a ``Settings`` object customised for this protocol on init.
This configures the protocol for repeated execution on (pairs of)
``ChemicalSystem`` objects.
:class:`ChemicalSystem` objects.
This is an abstract base class; individual Protocol implementations
should be subclasses of this class. The following methods should be
Expand Down
11 changes: 4 additions & 7 deletions gufe/protocols/protocoldag.py
Original file line number Diff line number Diff line change
Expand Up @@ -360,19 +360,16 @@ def execute_DAG(protocoldag: ProtocolDAG, *,
keep_scratch: bool = False,
raise_error: bool = True,
) -> ProtocolDAGResult:
"""Execute the full DAG in-serial, in process.
This is intended for debug use for Protocol developers.
Running locally is generally not useful for production purposes.
"""Locally execute a full ProtocolDAG in-serial, in process.
Parameters
----------
protocoldag : ProtocolDAG
The `ProtocolDAG` to execute.
The :class:``ProtocolDAG`` to execute.
shared_basedir : Path
Filesystem path to use for shared space that persists across whole DAG
execution. Used by `ProtocolUnit`s to pass file contents to dependent
`ProtocolUnit`s.
execution. Used by a `ProtocolUnit` to pass file contents to dependent
class:``ProtocolUnit`` instances.
scratch_basedir : Path
Filesystem path to use for `ProtocolUnit` `scratch` space.
keep_shared : bool
Expand Down

0 comments on commit fd7231d

Please sign in to comment.