Skip to content

Commit

Permalink
cloud exception
Browse files Browse the repository at this point in the history
  • Loading branch information
kapoorlab committed Dec 4, 2023
1 parent d26931b commit 5a1d093
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/napatrackmater/_version.py
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
__version__ = version = "4.5.3"
__version_tuple__ = version_tuple = (4, 5, 3)
__version__ = version = "4.5.4"
__version_tuple__ = version_tuple = (4, 5, 4)
7 changes: 7 additions & 0 deletions src/napatrackmater/clustering.py
Original file line number Diff line number Diff line change
Expand Up @@ -590,6 +590,13 @@ def get_label_centroid_cloud(
cloud = get_panda_cloud_xyz(points)
else:
cloud = get_panda_cloud_xyz(points)
else:
if ndim == 2:
cloud = get_panda_cloud_xy(simple_clouds)
elif ndim == 3:
cloud = get_panda_cloud_xyz(simple_clouds)
else:
cloud = get_panda_cloud_xyz(simple_clouds)
else:
if ndim == 2:
cloud = get_panda_cloud_xy(simple_clouds)
Expand Down

0 comments on commit 5a1d093

Please sign in to comment.