Skip to content

Commit

Permalink
Merge branch 'main' into json_none-ify
Browse files Browse the repository at this point in the history
  • Loading branch information
rhoadesScholar authored Jan 31, 2025
2 parents 43ac271 + 1211cfe commit 2b32ef8
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/cellmap_segmentation_challenge/utils/utils.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
import shutil
import sys
from time import time
from tqdm import tqdm
from cellmap_segmentation_challenge.utils import get_tested_classes
from cellmap_segmentation_challenge import TRUTH_PATH
Expand Down Expand Up @@ -153,6 +154,8 @@ def construct_truth_dataset(
write_path : str, optional
Format string to write the crops to within the destination Zarr. The default is "{crop}/{label}".
"""
start_time = time()

# Get the test crop manifested
manifest = construct_test_crop_manifest(path_root, search_path, write_path=None)

Expand All @@ -179,6 +182,7 @@ def construct_truth_dataset(
future.result()

print(f"Ground truth dataset written to: {destination}")
print(f"Done in {start_time - time()}!")


def copy_gt(line, search_path, path_root, write_path, ground_truth):
Expand Down

0 comments on commit 2b32ef8

Please sign in to comment.