Skip to content

Commit 92fa280

Browse files
committed
verify micrograph workflow
1 parent 9e845eb commit 92fa280

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

saber/entry_points/inference_core.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -102,7 +102,7 @@ def segment_micrograph_core(
102102

103103
# Get the Global Zarr Writer
104104
zwriter = zarr_writer.get_zarr_writer(output)
105-
zwriter.set_dict_attr('amg', segmenter.amg_params)
105+
zwriter.set_dict_attr('amg', segmenter.cfg)
106106

107107
# Ensure we're on the correct GPU
108108
torch.cuda.set_device(gpu_id)

saber/entry_points/run_micrograph_segment.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ def micrographs(
5151
if target_resolution is not None and scale_factor is not None:
5252
raise ValueError("Please provide either target_resolution OR scale_factor input, not both.")
5353

54-
# Get All Files in the Directory
54+
# Get All Files in the Directoryclear
5555
files = glob.glob(input)
5656
if len(files) == 0:
5757
raise ValueError(f"No files found in {input}")

0 commit comments

Comments
 (0)