Skip to content

Commit 32bdcbf

Browse files
authored
Update label.py
1 parent 1697795 commit 32bdcbf

File tree

1 file changed

+2
-1
lines changed
  • labelbox/data/serialization/labelbox_v1

1 file changed

+2
-1
lines changed

labelbox/data/serialization/labelbox_v1/label.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -238,7 +238,8 @@ def _has_text_annotations(self) -> bool:
238238
]) > 0
239239

240240
def _row_contains(self, substrs) -> bool:
241-
return any([substr in self.row_data for substr in substrs])
241+
lower_row_data = self.row_data.lower()
242+
return any([substr in lower_row_data for substr in substrs])
242243

243244
def _is_url(self) -> bool:
244245
return self.row_data.startswith(

0 commit comments

Comments
 (0)