added test to verify the cells in the pages (3)

Signed-off-by: Peter Staar <taa@zurich.ibm.com>
This commit is contained in:
Peter Staar 2024-08-28 10:58:41 +02:00
parent c6440c8911
commit 0f172cce2f

View File

@ -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"