Skip to content

Commit d7aaf96

Browse files
author
anna-grim
committed
removed testing blocks
1 parent 70f03b5 commit d7aaf96

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

src/segmentation_skeleton_metrics/skeleton_metric.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -654,7 +654,7 @@ def is_valid_merge(self, graph, kdtree, root):
654654
if j not in visited and d_j < 30:
655655
queue.append((j, d_j))
656656
visited.add(j)
657-
return True #True if n_hits > 16 else False
657+
return True if n_hits > 16 else False
658658

659659
def process_merge_sites(self):
660660
if self.merge_sites:

src/segmentation_skeleton_metrics/utils/swc_util.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -322,7 +322,7 @@ def read_from_gcs_swcs(self, bucket_name, swc_paths):
322322
with ThreadPoolExecutor() as executor:
323323
# Assign threads
324324
threads = list()
325-
for path in swc_paths[0:5]: # temp
325+
for path in swc_paths:
326326
threads.append(
327327
executor.submit(self.read_from_gcs_swc, bucket_name, path)
328328
)
@@ -527,7 +527,7 @@ def to_zipped_point(zip_writer, filename, xyz):
527527
"""
528528
with StringIO() as text_buffer:
529529
# Preamble
530-
text_buffer.write("# COLOR 1.0 0.0 1.0")
530+
text_buffer.write("# COLOR 1.0 0.0 0.0")
531531
text_buffer.write("\n" + "# id, type, z, y, x, r, pid")
532532

533533
# Write entry

0 commit comments

Comments
 (0)