Skip to content

Commit

Permalink
Fixed bug caught by Sharon where new_intervention_as_file wasnt passi…
Browse files Browse the repository at this point in the history
…ng start_day by name and thus correctly.
  • Loading branch information
Jonathan Bloedow committed Oct 2, 2023
1 parent 09a7fcd commit 2b264a4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion emodpy_typhoid/interventions/typhoid_vaccine.py
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,7 @@ def new_scheduled_intervention(

def new_intervention_as_file( camp, start_day, filename=None ):
import emod_api.campaign as camp
camp.add( new_triggered_intervention( camp, start_day ), first=True )
camp.add( new_triggered_intervention( camp, start_day=start_day ), first=True )
if filename is None:
filename = "TyphoidVaccine.json"
camp.save( filename )
Expand Down

0 comments on commit 2b264a4

Please sign in to comment.