Skip to content

Commit

Permalink
more minor fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
bdpedigo committed Oct 25, 2023
1 parent 8cf03e6 commit 47e84d6
Showing 1 changed file with 6 additions and 7 deletions.
13 changes: 6 additions & 7 deletions caveclient/chunkedgraph.py
Original file line number Diff line number Diff line change
Expand Up @@ -284,7 +284,7 @@ def get_change_log(self, root_id, filtered=True):
Parameters
----------
root_id : int
Object root id to look up
Object root ID to look up.
Returns
-------
Expand Down Expand Up @@ -319,7 +319,7 @@ def get_user_operations(
include_undo: bool = True,
timestamp_end: datetime.datetime = None,
):
"""Get operation details for a User ID.
"""Get operation details for a user ID.
Parameters
----------
Expand All @@ -335,7 +335,7 @@ def get_user_operations(
Returns
-------
pd.DataFrame
Dataframe with the following columns:
DataFrame with the following columns:
"operation_id": int
Identifier for the operation.
Expand Down Expand Up @@ -454,8 +454,7 @@ def get_leaves(self, root_id, bounds=None, stop_layer: int = None):
return np.int64(handle_response(response)["leaf_ids"])

def do_merge(self, supervoxels, coords, resolution=(4, 4, 40)):
"""Perform a merge on the chunkeded graph.
"""Perform a merge on the chunked graph.
Parameters
----------
Expand Down Expand Up @@ -730,7 +729,6 @@ def find_path(self, root_id, src_pt, dst_pt, precision_mode=False):
return centroids, l2_path, failed_l2_ids

def get_subgraph(self, root_id, bounds):
# re-write the old docstring below using better grammar and numpydoc formatting
"""Get subgraph of root id within a bounding box.
Parameters
Expand Down Expand Up @@ -1088,7 +1086,8 @@ def suggest_latest_roots(
return_all=False,
return_fraction_overlap=False,
):
"""Suggest latest roots for a given root id, based on overlap of component
"""
Suggest latest roots for a given root id, based on overlap of component
chunk IDs. Note that edits change chunk IDs, and so this effectively measures
the fraction of unchanged chunks at a given chunk layer, which sets the size
scale of chunks. Higher layers are coarser.
Expand Down

0 comments on commit 47e84d6

Please sign in to comment.