add main block
@@ -19,6 +19,8 @@ def vaccinate_by_age(sim):
# Define the vaccine
vaccine = cv.vaccine(days=20, rel_sus=0.8, rel_symp=0.06, subtarget=vaccinate_by_age)
+if __name__ == '__main__':
+
# Create, run, and plot the simulations
sim1 = cv.Sim(label='Baseline')
sim2 = cv.Sim(interventions=vaccine, label='With age-targeted vaccine')
