Skip to content

Commit

Permalink
disabled vaccine values from measules
Browse files Browse the repository at this point in the history
  • Loading branch information
lrdossan committed Aug 1, 2024
1 parent 2d4c820 commit aab1d90
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions caimira/apps/calculator/model_generator.py
Original file line number Diff line number Diff line change
Expand Up @@ -451,8 +451,7 @@ def exposed_population(self) -> mc.Population:
# The number of exposed occupants is the total number of occupants
# minus the number of infected occupants.
exposed_occupants = self.total_people - infected_occupants

if (self.vaccine_option):
if (self.vaccine_option and self.virus_type != "Measles-R12" and self.virus_type != "Measles-R18"):
if (self.vaccine_booster_option and self.vaccine_booster_type != 'Other'):
host_immunity = [vaccine['VE'] for vaccine in data.vaccine_booster_host_immunity if
vaccine['primary series vaccine'] == self.vaccine_type and
Expand Down

0 comments on commit aab1d90

Please sign in to comment.