Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

adding to LigandNetwork docstring #390

Merged
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
9 changes: 6 additions & 3 deletions gufe/ligandnetwork.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,14 +14,17 @@


class LigandNetwork(GufeTokenizable):
"""A directed graph connecting many ligands according to their atom mapping
"""A directed graph connecting ligands according to their atom mapping.
A network can be defined by specifying only edges, in which case the nodes are implicitly added.


Parameters
----------
edges : Iterable[LigandAtomMapping]
edges for this network
Edges for this network, each specified as a LigandAtomMapping between two nodes.
nodes : Iterable[SmallMoleculeComponent]
nodes for this network
Nodes for this network. Any nodes already included as a part of the 'edges' will be ignored.
Nodes not already included in 'edges' will be added as isolated, unconnected nodes.
atravitz marked this conversation as resolved.
Show resolved Hide resolved
"""
def __init__(
self,
Expand Down
Loading