Skip to content

Commit

Permalink
Merge pull request #20 from naobservatory/simon-drop-aav5
Browse files Browse the repository at this point in the history
Simon drop aav5
  • Loading branch information
simonleandergrimm authored Dec 1, 2023
2 parents 96148bb + 20a179f commit ff9b48e
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 10 deletions.
12 changes: 4 additions & 8 deletions pathogens/aav5.py
Original file line number Diff line number Diff line change
Expand Up @@ -113,14 +113,10 @@ def estimate_prevalences() -> list[Prevalence]:
date_source=Variable(date="2018"),
location_source=Variable(country="Denmark"),
)
return [
us_2020,
us_2021,
dk_2015,
dk_2016,
dk_2017,
dk_2018,
]
return []
# Dropped, because of zero counts across all studies; lends little
# additonal information to the preprint (and complicates explantion
# of how we selected viruses.)


def estimate_incidences() -> list[IncidenceRate]:
Expand Down
3 changes: 1 addition & 2 deletions test.py
Original file line number Diff line number Diff line change
Expand Up @@ -57,8 +57,7 @@ def test_properties_exist(self):
for estimate in pathogen.estimate_incidences():
self.assertIsInstance(estimate, IncidenceRate)
saw_estimate = True

if pathogen_name in ["aav6", "hbv", "hsv_2"]:
if pathogen_name in ["aav5", "aav6", "hbv", "hsv_2"]:
# It's expected that these pathogens have no estimates; see
# https://docs.google.com/document/d/1IIeOFKNqAwf9NTJeVFRSl_Q9asvu9_TGc_HSrlXg8PI/edit
self.assertFalse(saw_estimate)
Expand Down

0 comments on commit ff9b48e

Please sign in to comment.