Skip to content

Commit

Permalink
vollcellpose
Browse files Browse the repository at this point in the history
  • Loading branch information
kapoorlab committed May 12, 2024
1 parent 9084f63 commit c8a6688
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
4 changes: 2 additions & 2 deletions src/vollseg/_version.py
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
__version__ = version = "32.2.5"
__version_tuple__ = version_tuple = (32, 2, 5)
__version__ = version = "32.2.6"
__version_tuple__ = version_tuple = (32, 2, 6)
8 changes: 4 additions & 4 deletions src/vollseg/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -1508,7 +1508,7 @@ def CellPoseSeg(

def VollCellSeg(
image: np.ndarray,
nuclei_seg_image=None,
nuclei_seg_image: np.ndarray = None,
diameter_cellpose: float = 34.6,
stitch_threshold: float = 0.5,
channel_membrane: int = 0,
Expand Down Expand Up @@ -1711,9 +1711,9 @@ def VollCellSeg(
)

if cellpose_model_path is not None:
cellpose_labels = cellres[0]
cellpose_labels = np.asarray(cellpose_labels)
cellpose_labels_copy = cellpose_labels.copy()
cellpose_labels = cellres[0]
cellpose_labels = np.asarray(cellpose_labels)
cellpose_labels_copy = cellpose_labels.copy()

if nuclei_seg_image is not None:
if cellpose_model_path is not None:
Expand Down

0 comments on commit c8a6688

Please sign in to comment.