mirror of
https://github.com/DS4SD/docling.git
synced 2025-07-26 20:14:47 +00:00
added test to verify the cells in the pages (3)
Signed-off-by: Peter Staar <taa@zurich.ibm.com>
This commit is contained in:
parent
c6440c8911
commit
0f172cce2f
@ -47,9 +47,6 @@ def convert_paths(data):
|
|||||||
|
|
||||||
def verify_cells(doc_pred_json, doc_true_json):
|
def verify_cells(doc_pred_json, doc_true_json):
|
||||||
|
|
||||||
print(doc_pred_json.keys())
|
|
||||||
print(doc_pred_json["input"].keys())
|
|
||||||
|
|
||||||
assert len(doc_pred_json["pages"]) == len(
|
assert len(doc_pred_json["pages"]) == len(
|
||||||
doc_true_json["pages"]
|
doc_true_json["pages"]
|
||||||
), "pred- and true-doc do not have the same number of pages"
|
), "pred- and true-doc do not have the same number of pages"
|
||||||
|
Loading…
Reference in New Issue
Block a user