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 5bc2d4a commit 2ee5750
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions inst/py/cellpose_utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -380,9 +380,9 @@ def predict_slice(self, im_dat, dat_slices):
self.logfile_utils.log(f'> Nuclei: {np.max(labels_merged[1])}')

# add masks to list
if np.max(labels_merged[0]) > 0 and np.max(labels_merged[1]) > 0:
interm_labels['cyto'] = labels_merged[0]
interm_labels['nuc'] = labels_merged[1]
# if np.max(labels_merged[0]) > 0 and np.max(labels_merged[1]) > 0:
# interm_labels['cyto'] = labels_merged[0]
# interm_labels['nuc'] = labels_merged[1]

# final merge of cyto and base
merged_labels = np.zeros(label_shape, dtype = np.uint32)
Expand Down

0 comments on commit 2ee5750

Please sign in to comment.