Skip to content

Commit

Permalink
update logger to record district scaling factors
Browse files Browse the repository at this point in the history
  • Loading branch information
tdm32 committed Dec 12, 2024
1 parent 49daa62 commit f73ae40
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/tlo/methods/demography.py
Original file line number Diff line number Diff line change
Expand Up @@ -342,7 +342,7 @@ def initialise_simulation(self, sim):
'multiply-up results so that they correspond to the real population size.'
)
if self.equal_allocation_by_district:
scaling_factor_district = 1.0 / self.initial_model_to_data_popsize_ratio
scaling_factor_district = 1.0 / self.initial_model_to_data_popsize_ratio_district
_logger.warning(
key='scaling_factor_district',
data={'scaling_factor_district': scaling_factor_district.to_dict()},
Expand Down

0 comments on commit f73ae40

Please sign in to comment.