Skip to content

Commit

Permalink
misc
Browse files Browse the repository at this point in the history
  • Loading branch information
schienstockd committed Dec 20, 2022
1 parent 4d4353c commit d88bd9b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion inst/py/segmentation_utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -226,6 +226,7 @@ def predict_from_zarr(self, im_dat):
if os.path.exists(x):
shutil.rmtree(x)

self.logfile_utils.log(f'> Create label Zarr {i}: {x}')
labels[i] = zarr.open(
x,
mode = 'w',
Expand Down Expand Up @@ -338,7 +339,6 @@ def predict_from_zarr(self, im_dat):
y[y > 0] = y[y > 0] + cur_max_labels

self.logfile_utils.log(f'> place {j}: {y.shape}')
self.logfile_utils.log(np.unique(y))

# merge with exisiting labels
labels[j][cur_slices] = np.maximum(labels[j][cur_slices], y)
Expand Down

0 comments on commit d88bd9b

Please sign in to comment.