Skip to content

Commit

Permalink
z-axis=0 in GUI (#1020)
Browse files Browse the repository at this point in the history
  • Loading branch information
carsen-stringer committed Oct 25, 2024
1 parent 166abf1 commit 6fb288f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cellpose/gui/gui.py
Original file line number Diff line number Diff line change
Expand Up @@ -2431,7 +2431,7 @@ def compute_segmentation(self, custom=False, model_name=None, load_model=True):
cellprob_threshold=cellprob_threshold,
flow_threshold=flow_threshold, do_3D=do_3D, niter=niter,
normalize=normalize_params, stitch_threshold=stitch_threshold,
progress=self.progress)[:2]
progress=self.progress, z_axis=0 if self.NZ > 1 else None)[:2]
except Exception as e:
print("NET ERROR: %s" % e)
self.progress.setValue(0)
Expand Down

0 comments on commit 6fb288f

Please sign in to comment.