File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff 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 )
Original file line number Diff line number Diff 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 } " )
You can’t perform that action at this time.
0 commit comments