Skip to content

Commit

Permalink
feat: automatically interpret .ckl files as segmentation
Browse files Browse the repository at this point in the history
  • Loading branch information
william-silversmith committed Feb 21, 2025
1 parent 9bfb020 commit 5a80fa0
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions microviewer_cli/cli.py
Original file line number Diff line number Diff line change
Expand Up @@ -119,6 +119,9 @@ def main(
"""
View 3D images in the browser.
"""
if '.ckl' in image and not segmentation:
seg = True

try:
image_np = load(image, shape, dtype, order)
if segmentation:
Expand Down

0 comments on commit 5a80fa0

Please sign in to comment.