Skip to content

Commit

Permalink
Remove print statements #1266
Browse files Browse the repository at this point in the history
  • Loading branch information
Jetske committed Jul 11, 2024
1 parent 363a312 commit d7793eb
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions signbank/dictionary/models.py
Original file line number Diff line number Diff line change
Expand Up @@ -3910,10 +3910,8 @@ def add_annotations(self, annotations, gloss, start_cut=-1, end_cut=-1):
if start_cut >= 0 and end_cut >= 0:
# If completely outside of the cut, exclude it
if starttime >= end_cut or endtime <= 0:
print(gloss_translation, " is outside of the cut")
excluded = True
elif (min(endtime, end_cut) - max(starttime, start_cut)) < 100:
print(gloss_translation, " is too short")
excluded = True
# If the annotation is partially outside the cut, make it fit
elif starttime < start_cut and endtime > start_cut and endtime < end_cut:
Expand Down

0 comments on commit d7793eb

Please sign in to comment.