Skip to content

Commit

Permalink
oops
Browse files Browse the repository at this point in the history
  • Loading branch information
ErinWeisbart committed Aug 27, 2024
1 parent 36b87b5 commit 1003b84
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions active_plugins/enforceobjectsonetoone.py
Original file line number Diff line number Diff line change
Expand Up @@ -186,27 +186,27 @@ def run(self, workspace):

if self.show_window:
#isdone? NO
workspace.display_data.parent_labels = pre_primary.segmented
"""workspace.display_data.parent_labels = pre_primary.segmented
workspace.display_data.parent_count = parents.count
workspace.display_data.child_labels = children.segmented
workspace.display_data.parents_of = parents_of
workspace.display_data.dimensions = parents.dimensions
workspace.display_data.dimensions = parents.dimensions"""

def display(self, workspace, figure):
#isdone? NO

if not self.show_window:
return

dimensions = workspace.display_data.dimensions

figure.set_subplots((1, 3), dimensions=dimensions)

child_labels = workspace.display_data.child_labels
"""child_labels = workspace.display_data.child_labels
parents_of = workspace.display_data.parents_of
Expand Down Expand Up @@ -263,7 +263,7 @@ def display(self, workspace, figure):
max_label=max_label,
seed=seed,
colormap=cmap,
)
)"""

def enforce_unique(self, primary_object_array,secondary_object_array,erode_excess=False):
hist, _, _ = numpy.histogram2d(
Expand Down

0 comments on commit 1003b84

Please sign in to comment.