Skip to content

Commit

Permalink
fix: update viewer to new microviewer dependency (#304)
Browse files Browse the repository at this point in the history
from cloudvolume import view is deprecated in CV 9.0.0
  • Loading branch information
william-silversmith authored Jun 14, 2024
1 parent b294d73 commit ecb5d95
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
4 changes: 2 additions & 2 deletions chunkflow/flow/view.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import numpy as np

from cloudvolume import view, hyperview
from microviewer import view, hyperview
from .base import OperatorBase


Expand All @@ -20,4 +20,4 @@ def __call__(self, chunk, seg=None):
# this is an image
view(chunk)
else:
view(chunk, segmentation=True)
view(chunk, seg=True)
1 change: 1 addition & 0 deletions requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -23,3 +23,4 @@ gputil
traitlets
zarr
scipy
microviewer

0 comments on commit ecb5d95

Please sign in to comment.