Skip to content

Commit

Permalink
Remove test prints
Browse files Browse the repository at this point in the history
  • Loading branch information
loicsauteur committed Jan 3, 2025
1 parent 7c3a15b commit c4ffaf2
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions src/napari_annotator/_annotations_list_widget.py
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,6 @@ def __init__(self, labelLayer: napari.layers.Labels):

# apply the color dictionary to the labels layer
if self.labelLayer is not None:
print("layer is not NONE")
self.labelLayer.colormap = self.colormap

# create header widget object to be added into the _dock_Widget Layout
Expand All @@ -69,7 +68,6 @@ def __init__(self, labelLayer: napari.layers.Labels):
# initialise the widget
# check if label_items_array is empty and populate it
if not self.label_items_array and self.labelLayer is not None:
print("Widget initialised - get here only with active label layer")
self.initialise_widget(self.labelLayer)

# AnnoList class methods #
Expand Down Expand Up @@ -170,7 +168,6 @@ def initialise_widget(self, layer):
Called upon layer change to Labels layer
:param layer: napari labels layer
"""
print("Widget initialised called")
self.labelLayer = layer
self.label_items_array = []
self.create_label_item_array() # populates the label_items_array
Expand Down

0 comments on commit c4ffaf2

Please sign in to comment.