Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions anylabeling/views/labeling/label_widget.py
Original file line number Diff line number Diff line change
Expand Up @@ -1517,6 +1517,10 @@ def validate_label(self, label):
if self._config["validate_label"] is None:
return True

# These labels are produced by the auto-labeling feature and shouldn't emit errors
if label in ("AUTOLABEL_ADD", "AUTOLABEL_REMOVE"):
return True

for i in range(self.unique_label_list.count()):
label_i = self.unique_label_list.item(i).data(Qt.UserRole)
if self._config["validate_label"] in ["exact"]:
Expand Down