Skip to content

Commit

Permalink
relax gbd access versions
Browse files Browse the repository at this point in the history
  • Loading branch information
hussain-jafari committed Feb 20, 2024
1 parent 1693c79 commit e47d72a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@
"pytest",
"pytest-mock",
"hypothesis",
"vivarium-gbd-access>=3.0.7, <4.0.0",
"vivarium-gbd-access",
]

doc_requirements = [
Expand Down
3 changes: 1 addition & 2 deletions src/vivarium_inputs/validation/raw.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@
causes,
)
from loguru import logger
from vivarium_gbd_access.gbd import get_age_bins

from vivarium_inputs import utility_data
from vivarium_inputs.globals import (
Expand Down Expand Up @@ -2050,8 +2049,8 @@ def _check_continuity(data_ages: set, all_ages: set) -> None:
"""Make sure data_ages is contiguous block in all_ages."""
data_ages = list(data_ages)
all_ages = list(all_ages)
data_ages.sort()
all_ages.sort()
data_ages.sort()

if (
all_ages[all_ages.index(data_ages[0]) : all_ages.index(data_ages[-1]) + 1]
Expand Down

0 comments on commit e47d72a

Please sign in to comment.