remove debugging code

Signed-off-by: Michele Dolfi <dol@zurich.ibm.com>
This commit is contained in:
Michele Dolfi 2025-02-06 17:01:53 +01:00
parent 8e5ecad9c9
commit fa0a788ba9
2 changed files with 0 additions and 3 deletions

View File

@ -264,7 +264,6 @@ class GlmModel:
glm_doc = self.model.apply_on_doc(ds_doc_dict) glm_doc = self.model.apply_on_doc(ds_doc_dict)
docling_doc: DoclingDocument = to_docling_document(glm_doc) # Experimental docling_doc: DoclingDocument = to_docling_document(glm_doc) # Experimental
1 == 1
# DEBUG code: # DEBUG code:
def draw_clusters_and_cells(ds_document, page_no, show: bool = False): def draw_clusters_and_cells(ds_document, page_no, show: bool = False):

View File

@ -34,8 +34,6 @@ def test_cell_ordering():
page_backend: DoclingParseV2PageBackend = doc_backend.load_page(page_index) page_backend: DoclingParseV2PageBackend = doc_backend.load_page(page_index)
cells = list(page_backend.get_text_cells()) cells = list(page_backend.get_text_cells())
1 == 1
def test_text_cell_counts(): def test_text_cell_counts():
pdf_doc = Path("./tests/data/pdf/redp5110_sampled.pdf") pdf_doc = Path("./tests/data/pdf/redp5110_sampled.pdf")