Skip to content

Commit 29dd543

Browse files
committed
Overwrite any changes to demography file
1 parent f4cf120 commit 29dd543

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

src/tlo/methods/demography.py

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -324,10 +324,9 @@ def initialise_simulation(self, sim):
324324
# Launch the repeating event that will store statistics about the population structure
325325
sim.schedule_event(DemographyLoggingEvent(self), sim.date)
326326

327-
if sim.generate_event_chains is False:
328-
# Create (and store pointer to) the OtherDeathPoll and schedule first occurrence immediately
329-
self.other_death_poll = OtherDeathPoll(self)
330-
sim.schedule_event(self.other_death_poll, sim.date)
327+
# Create (and store pointer to) the OtherDeathPoll and schedule first occurrence immediately
328+
self.other_death_poll = OtherDeathPoll(self)
329+
sim.schedule_event(self.other_death_poll, sim.date)
331330

332331
# Log the initial population scaling-factor (to the logger of this module and that of `tlo.methods.population`)
333332
for _logger in (logger, logger_scale_factor):

0 commit comments

Comments
 (0)