Skip to content

Commit c4ea307

Browse files
authored
Update swc_util.py
1 parent 8767656 commit c4ea307

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/segmentation_skeleton_metrics/utils/swc_util.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -326,6 +326,7 @@ def read_from_gcs_swcs(self, bucket_name, swc_paths):
326326
threads.append(
327327
executor.submit(self.read_from_gcs_swc, bucket_name, path)
328328
)
329+
break
329330

330331
# Store results
331332
swc_dicts = deque()
@@ -350,6 +351,7 @@ def read_from_gcs_zips(self, bucket_name, zip_paths):
350351
swc_dicts = deque()
351352
for zip_path in tqdm(zip_paths, desc="Read SWCs"):
352353
swc_dicts.extend(self.read_from_gcs_zip(bucket_name, zip_path))
354+
break
353355
return swc_dicts
354356

355357
def read_from_gcs_zip(self, bucket_name, path):

0 commit comments

Comments
 (0)