From de85e46ced293bdef7957f72fff301fec178cc94 Mon Sep 17 00:00:00 2001 From: Michele Dolfi <97102151+dolfim-ibm@users.noreply.github.com> Date: Fri, 30 Aug 2024 10:36:00 +0200 Subject: [PATCH] fix: propagate row_section in tables (#57) Signed-off-by: Michele Dolfi --- docling/datamodel/document.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/docling/datamodel/document.py b/docling/datamodel/document.py index bf3d7b2..aa841b7 100644 --- a/docling/datamodel/document.py +++ b/docling/datamodel/document.py @@ -222,6 +222,8 @@ class ConvertedDocument(BaseModel): celltype = "col_header" elif cell.row_header: celltype = "row_header" + elif cell.row_section: + celltype = "row_section" def make_spans(cell): for rspan in range(