From 2b264a4e9948cc908f0b41654029c2a872d42e31 Mon Sep 17 00:00:00 2001 From: Jonathan Bloedow Date: Mon, 2 Oct 2023 07:08:55 -0700 Subject: [PATCH] Fixed bug caught by Sharon where new_intervention_as_file wasnt passing start_day by name and thus correctly. --- emodpy_typhoid/interventions/typhoid_vaccine.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/emodpy_typhoid/interventions/typhoid_vaccine.py b/emodpy_typhoid/interventions/typhoid_vaccine.py index a2584a6..8c2414a 100644 --- a/emodpy_typhoid/interventions/typhoid_vaccine.py +++ b/emodpy_typhoid/interventions/typhoid_vaccine.py @@ -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 )