From d7793eb54dec43d51ace89e7062c8c97f9ec5f8a Mon Sep 17 00:00:00 2001 From: Jetske Date: Thu, 11 Jul 2024 13:40:12 +0200 Subject: [PATCH] Remove print statements #1266 --- signbank/dictionary/models.py | 2 -- 1 file changed, 2 deletions(-) diff --git a/signbank/dictionary/models.py b/signbank/dictionary/models.py index 3f31d857e..b0c1355e4 100755 --- a/signbank/dictionary/models.py +++ b/signbank/dictionary/models.py @@ -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: