Skip to content

Commit

Permalink
missing auth
Browse files Browse the repository at this point in the history
  • Loading branch information
kyleclo committed Jul 21, 2023
1 parent 8a3372a commit bf5c8c1
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
4 changes: 2 additions & 2 deletions papermage/types/box.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
"""

import logging
from typing import List, Dict, Tuple, Union, Optional
from typing import Dict, List, Optional, Tuple, Union

import numpy as np

Expand Down Expand Up @@ -115,7 +115,7 @@ def is_overlap(self, other: "Box") -> bool:
def create_enclosing_box(cls, boxes: List['Box']) -> 'Box':
"""Create the narrowest Box that completely encloses all the input Boxes."""
if not boxes:
raise ValueError(f'`spans` should be non-empty.')
raise ValueError(f'`boxes` should be non-empty.')
unique_pages = {box.page for box in boxes}
if len(unique_pages) != 1:
raise ValueError(f"Boxes not all on same page. Pages={unique_pages}")
Expand Down
4 changes: 4 additions & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,10 @@ email = "blnewman@stanford.edu"
name = "Russell Authur"
email = "russell.authur@gmail.com"

[[project.authors]]
name = "Chris Wilhelm"
email = "chrisw@allenai.org"


[project.urls]
'Homepage' = 'https://www.github.com/allenai/papermage'
Expand Down

0 comments on commit bf5c8c1

Please sign in to comment.