Skip to content

Commit

Permalink
bug with zdraw
Browse files Browse the repository at this point in the history
  • Loading branch information
carsen-stringer committed Aug 9, 2020
1 parent 0e61564 commit 183acde
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions cellpose/io.py
Original file line number Diff line number Diff line change
Expand Up @@ -505,6 +505,7 @@ def _masks_to_gui(parent, masks, outlines=None):
if parent.ncells>0:
parent.toggle_mask_ops()
parent.ismanual = np.zeros(parent.ncells, np.bool)
parent.zdraw = list(-1*np.ones(parent.ncells, np.int16))
parent.update_plot()

def _save_png(parent):
Expand Down

0 comments on commit 183acde

Please sign in to comment.