Skip to content

Commit

Permalink
fixing file loading in 3D (#883)
Browse files Browse the repository at this point in the history
  • Loading branch information
carsen-stringer committed Mar 4, 2024
1 parent de5dcf3 commit 6b1959d
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions cellpose/gui/io.py
Expand Up @@ -141,6 +141,7 @@ def _load_image(parent, filename=None, load_seg=True, load_3D=False):

def _initialize_images(parent, image, load_3D=False):
""" format image for GUI """
load_3D = parent.load_3D if load_3D is False else load_3D
parent.nchan = 3
if image.ndim > 4:
image = image.squeeze()
Expand Down

0 comments on commit 6b1959d

Please sign in to comment.