mirror of
https://github.com/DS4SD/docling.git
synced 2025-12-07 20:28:14 +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:
@@ -47,9 +47,6 @@ def convert_paths(data):
|
||||
|
||||
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(
|
||||
doc_true_json["pages"]
|
||||
), "pred- and true-doc do not have the same number of pages"
|
||||
|
||||
Reference in New Issue
Block a user