diff --git a/src/deep_neurographs/intake.py b/src/deep_neurographs/intake.py index 73edee0..55adffc 100644 --- a/src/deep_neurographs/intake.py +++ b/src/deep_neurographs/intake.py @@ -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() diff --git a/src/deep_neurographs/neurograph.py b/src/deep_neurographs/neurograph.py index 65d3d4e..032fc1b 100644 --- a/src/deep_neurographs/neurograph.py +++ b/src/deep_neurographs/neurograph.py @@ -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 @@ -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():