Skip to content

Commit

Permalink
Use getter for config
Browse files Browse the repository at this point in the history
  • Loading branch information
sgreenbury committed Sep 19, 2024
1 parent 7f89660 commit 0cb7f56
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/2_match_households_and_individuals.py
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@ def get_interim_path(
# Sample a subset of households, RNG seeded above with `init_rng``
sampled_households = pd.Series(unique_households).sample(
n=min(
config["parameters"]["number_of_households"],
config.get_config()["parameters"]["number_of_households"],
unique_households.shape[0],
),
)
Expand Down

0 comments on commit 0cb7f56

Please sign in to comment.