mirror of
https://github.com/DS4SD/docling.git
synced 2025-07-27 04:24:45 +00:00
added the tests for tables
Signed-off-by: Peter Staar <taa@zurich.ibm.com>
This commit is contained in:
parent
8c2e3d6e50
commit
94548c409d
@ -162,9 +162,13 @@ def verify_conversion_result(
|
|||||||
doc_pred_pages, doc_true_pages
|
doc_pred_pages, doc_true_pages
|
||||||
), f"Mismatch in PDF cell prediction for {input_path}"
|
), f"Mismatch in PDF cell prediction for {input_path}"
|
||||||
|
|
||||||
assert verify_output(
|
# assert verify_output(
|
||||||
|
# doc_pred, doc_true
|
||||||
|
# ), f"Mismatch in JSON prediction for {input_path}"
|
||||||
|
|
||||||
|
assert verify_tables(
|
||||||
doc_pred, doc_true
|
doc_pred, doc_true
|
||||||
), f"Mismatch in JSON prediction for {input_path}"
|
), f"verify_tables(doc_pred, doc_true) mismatch for {input_path}"
|
||||||
|
|
||||||
assert verify_md(
|
assert verify_md(
|
||||||
doc_pred_md, doc_true_md
|
doc_pred_md, doc_true_md
|
||||||
|
Loading…
Reference in New Issue
Block a user