From a384a251ce9894da2ab257653c95403eed48e621 Mon Sep 17 00:00:00 2001 From: anna-grim Date: Tue, 19 Nov 2024 21:56:25 +0000 Subject: [PATCH] bug: filtering --- src/deep_neurographs/fragment_filtering.py | 1 - 1 file changed, 1 deletion(-) diff --git a/src/deep_neurographs/fragment_filtering.py b/src/deep_neurographs/fragment_filtering.py index 2333233..ae6b931 100644 --- a/src/deep_neurographs/fragment_filtering.py +++ b/src/deep_neurographs/fragment_filtering.py @@ -52,7 +52,6 @@ def remove_curvy(fragments_graph, max_length, ratio=0.5): length = fragments_graph.edges[i, j]["length"] endpoint_dist = fragments_graph.dist(i, j) if endpoint_dist / length < ratio and length < max_length: - print(i, j) deleted_ids.add(fragments_graph.edges[i, j]["swc_id"]) delete_fragment(fragments_graph, i, j) return len(deleted_ids)