Skip to content

Dev/add omnidocbench#4

Merged
cau-git merged 41 commits intomainfrom
dev/add-omnidocbench
Jan 7, 2025
Merged

Dev/add omnidocbench#4
cau-git merged 41 commits intomainfrom
dev/add-omnidocbench

Conversation

@PeterStaar-IBM
Copy link
Member

No description provided.

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

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

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

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
Member

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 <nli@zurich.ibm.com>
…talled (#5)

Signed-off-by: Maksym Lysak <mly@zurich.ibm.com>
Co-authored-by: Maksym Lysak <mly@zurich.ibm.com>
…box coordinates

Signed-off-by: Christoph Auer <cau@zurich.ibm.com>
Signed-off-by: Christoph Auer <cau@zurich.ibm.com>
Signed-off-by: Christoph Auer <cau@zurich.ibm.com>
Signed-off-by: Christoph Auer <cau@zurich.ibm.com>
Signed-off-by: Christoph Auer <cau@zurich.ibm.com>
Signed-off-by: Christoph Auer <cau@zurich.ibm.com>
Signed-off-by: Christoph Auer <cau@zurich.ibm.com>
Signed-off-by: Christoph Auer <cau@zurich.ibm.com>

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

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

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.

Signed-off-by: Christoph Auer <cau@zurich.ibm.com>
Signed-off-by: Christoph Auer <cau@zurich.ibm.com>
Signed-off-by: Christoph Auer <cau@zurich.ibm.com>
Signed-off-by: Christoph Auer <cau@zurich.ibm.com>
@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