Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Dev/add omnidocbench #4

Merged
merged 41 commits into from
Jan 7, 2025
Merged

Dev/add omnidocbench #4

merged 41 commits into from
Jan 7, 2025

Conversation

PeterStaar-IBM
Copy link
Contributor

No description provided.

Signed-off-by: Peter Staar <[email protected]>
Signed-off-by: Peter Staar <[email protected]>
Signed-off-by: Peter Staar <[email protected]>
Signed-off-by: Peter Staar <[email protected]>
Signed-off-by: Peter Staar <[email protected]>
Signed-off-by: Peter Staar <[email protected]>
@cau-git cau-git requested review from cau-git and nikos-livathinos and removed request for nikos-livathinos and cau-git January 6, 2025 10:01
PeterStaar-IBM and others added 4 commits January 6, 2025 12:58
Signed-off-by: Peter Staar <[email protected]>
Signed-off-by: Peter Staar <[email protected]>
Signed-off-by: Christoph Auer <[email protected]>

assert len(true_page_images) == 1, "len(true_page_images)==1"

page_width = true_doc.pages[1].size.width
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is there a reason why we check the second page and not the first one to get the page dimensions? What if the document has only one page?

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

the pages field is a map, not a list. The index should start with 1.

nikos-livathinos and others added 12 commits January 6, 2025 16:19
…ut and tableformer modalities

Signed-off-by: Nikos Livathinos <[email protected]>
…talled (#5)

Signed-off-by: Maksym Lysak <[email protected]>
Co-authored-by: Maksym Lysak <[email protected]>
Signed-off-by: Christoph Auer <[email protected]>
Signed-off-by: Christoph Auer <[email protected]>
Signed-off-by: Christoph Auer <[email protected]>
Signed-off-by: Christoph Auer <[email protected]>
Signed-off-by: Christoph Auer <[email protected]>
Signed-off-by: Christoph Auer <[email protected]>

assert len(true_page_images) == 1, "len(true_page_images)==1"

page_width = true_doc.pages[1].size.width
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

the pages field is a map, not a list. The index should start with 1.

@cau-git cau-git force-pushed the dev/add-omnidocbench branch from c2265f9 to 0679cdc Compare January 7, 2025 11:48
@cau-git cau-git merged commit 6bc9140 into main Jan 7, 2025
2 of 5 checks passed
@cau-git cau-git deleted the dev/add-omnidocbench branch January 7, 2025 11:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants