From 9f05e6ca4cef16480a2f44649c6d56edab03cb1c Mon Sep 17 00:00:00 2001 From: "Gerber, Mike" Date: Fri, 12 Jun 2020 20:19:38 +0200 Subject: [PATCH] =?UTF-8?q?=F0=9F=A7=B9=20dinglehopper:=20Remove=20obsolet?= =?UTF-8?q?e=20XXX=20about=20None=20ids?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- qurator/dinglehopper/tests/extracted_text_test.py | 3 --- 1 file changed, 3 deletions(-) diff --git a/qurator/dinglehopper/tests/extracted_text_test.py b/qurator/dinglehopper/tests/extracted_text_test.py index 82c3a53..2e6a9e6 100644 --- a/qurator/dinglehopper/tests/extracted_text_test.py +++ b/qurator/dinglehopper/tests/extracted_text_test.py @@ -52,9 +52,6 @@ def test_align(): for left, right in seq_align(grapheme_clusters(test1.text), grapheme_clusters(test2.text)): left_id = test1.segment_id_for_pos(left_pos) if left is not None else None right_id = test2.segment_id_for_pos(right_pos) if right is not None else None - # XXX note that deletions and inserts only produce one id + None, UI must - # support this, i.e. display for the one id produced - # XXX otherwise, it should always display for BOTH ids el = AlignmentElement(left, right, left_id, right_id) alignment.append(el) if left is not None: