Skip to content

Commit

Permalink
upds (#33)
Browse files Browse the repository at this point in the history
Co-authored-by: anna-grim <[email protected]>
  • Loading branch information
anna-grim and anna-grim authored Jan 17, 2024
1 parent 43602c4 commit 10021d4
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/deep_neurographs/intake.py
Original file line number Diff line number Diff line change
Expand Up @@ -243,7 +243,8 @@ def build_neurograph(
neurograph.add_immutables(irreducible_set, key)
if i > cnt * chunk_size:
cnt, t1 = report_progress(i, n_components, chunk_size, cnt, t0, t1)
print(f"add_irreducibles(): {time() - t0} seconds")
i += 1
print("\n" + f"add_irreducibles(): {time() - t0} seconds")

"""
t0 = time()
Expand Down
2 changes: 2 additions & 0 deletions src/deep_neurographs/neurograph.py
Original file line number Diff line number Diff line change
Expand Up @@ -92,6 +92,7 @@ def add_immutables(self, irreducibles, swc_id, start_id=None):
)

# Add edges
"""
edges = irreducibles["edges"]
for i, j in edges.keys():
# Get edge
Expand All @@ -111,6 +112,7 @@ def add_immutables(self, irreducibles, swc_id, start_id=None):
for xyz in collisions:
del xyz_to_edge[xyz]
self.xyz_to_edge.update(xyz_to_edge)
"""

def __add_nodes(self, nodes, key, node_ids, cur_id, swc_id):
for i in nodes[key].keys():
Expand Down

0 comments on commit 10021d4

Please sign in to comment.