Skip to content

Commit

Permalink
fix: log chunk/edges counts
Browse files Browse the repository at this point in the history
  • Loading branch information
akhileshh committed Aug 8, 2023
1 parent aea65e4 commit 0238a1d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions pychunkedgraph/graph/chunkedgraph.py
Original file line number Diff line number Diff line change
Expand Up @@ -667,7 +667,7 @@ def get_l2_agglomerations(
# find a better way to test
edges_d = {}
if self.mock_edges is None:
with TimeIt("read_chunk_edges", self.graph_id):
with TimeIt("read_chunk_edges", self.graph_id, n_chunks=len(chunk_ids)):
edges_d = self.read_chunk_edges(chunk_ids)

fake_edges = self.get_fake_edges(chunk_ids)
Expand Down Expand Up @@ -702,7 +702,7 @@ def f(x):

get_sv_parents = np.vectorize(f, otypes=[np.uint64])

with TimeIt("categorize_edges_v2", self.graph_id):
with TimeIt("categorize_edges_v2", self.graph_id, n_edges=len(all_chunk_edges)):
in_edges, out_edges, cross_edges = edge_utils.categorize_edges_v2(
self.meta,
supervoxels,
Expand Down

0 comments on commit 0238a1d

Please sign in to comment.