Skip to content

Commit

Permalink
format
Browse files Browse the repository at this point in the history
  • Loading branch information
jdebacker committed Feb 3, 2024
1 parent 0557683 commit 6062c16
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion ogcore/demographics.py
Original file line number Diff line number Diff line change
Expand Up @@ -641,7 +641,15 @@ def get_pop_objs(
mort_rates_S = mort_rates[:, E:]
# Get population distribution if not provided
if pop_dist is None:
pop_2D, pre_pop = get_pop(E, S, min_age, max_age, country_id, initial_data_year, final_data_year)
pop_2D, pre_pop = get_pop(
E,
S,
min_age,
max_age,
country_id,
initial_data_year,
final_data_year,
)
else:
# Check first dims of pop_dist as input by user
assert pop_dist.shape[0] == T0
Expand Down

0 comments on commit 6062c16

Please sign in to comment.