darabos commited on
Commit
280b4fc
·
1 Parent(s): 75596f2

Fix docstrings.

Browse files
lynxkite-bio/src/lynxkite_bio/__init__.py CHANGED
@@ -1,4 +1,4 @@
1
- """Graph analytics operations. To be split into separate files when we have more."""
2
 
3
  from lynxkite_graph_analytics import Bundle, RelationDefinition
4
  from lynxkite.core import ops
@@ -39,6 +39,7 @@ def _get_similarity_matrix(mols):
39
  def graph_from_similarity(
40
  bundle: Bundle, *, table="df", mols_column="mols", average_degree=10
41
  ):
 
42
  df = bundle.dfs[table]
43
  mols = df[mols_column]
44
  similarity_matrix = _get_similarity_matrix(mols)
 
1
+ """An expansion for `lynxkite-graph-analytics` that provides algorithms for biological applications."""
2
 
3
  from lynxkite_graph_analytics import Bundle, RelationDefinition
4
  from lynxkite.core import ops
 
39
  def graph_from_similarity(
40
  bundle: Bundle, *, table="df", mols_column="mols", average_degree=10
41
  ):
42
+ """Creates edges for pairs of molecules that are the most similar."""
43
  df = bundle.dfs[table]
44
  mols = df[mols_column]
45
  similarity_matrix = _get_similarity_matrix(mols)