Skip to content

Commit a4a52ed

Browse files
tdm32tbhallett
andauthored
move baseline screening scheduling to initialise_simulation (#1823)
Co-authored-by: Tim Hallett <39991060+tbhallett@users.noreply.github.com>
1 parent a925329 commit a4a52ed

File tree

1 file changed

+5
-4
lines changed

1 file changed

+5
-4
lines changed

src/tlo/methods/tb.py

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1021,10 +1021,6 @@ def initialise_population(self, population):
10211021
strain="mdr",
10221022
incidence=incidence_year * p['prop_mdr2010'])
10231023

1024-
self.send_for_screening_general(
1025-
population
1026-
) # send some baseline population for screening
1027-
10281024
def initialise_simulation(self, sim):
10291025
"""
10301026
* 1) Schedule the regular TB events
@@ -1060,6 +1056,11 @@ def initialise_simulation(self, sim):
10601056
TbCheckPropertiesEvent(self), sim.date + pd.DateOffset(months=1)
10611057
)
10621058

1059+
# 5) send some baseline population for screening
1060+
self.send_for_screening_general(
1061+
sim.population
1062+
)
1063+
10631064
def update_parameters_for_program_scaleup(self):
10641065
""" options for program scale-up are 'target' or 'max' """
10651066
p = self.parameters

0 commit comments

Comments
 (0)