We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 681673f commit 6c47a7dCopy full SHA for 6c47a7d
pymupdf4llm/pymupdf4llm/helpers/pymupdf_rag.py
@@ -1052,6 +1052,10 @@ def get_page_output(
1052
else:
1053
tabs = page.find_tables(clip=parms.clip, strategy=table_strategy)
1054
for t in tabs.tables:
1055
+ # Skip tables with no valid cells (would cause bbox calculation to fail)
1056
+ if not any(c is not None for c in t.cells):
1057
+ continue
1058
+
1059
# remove tables with too few rows or columns
1060
if t.row_count < 2 or t.col_count < 2:
1061
omitted_table_rects.append(pymupdf.Rect(t.bbox))
0 commit comments