Skip to content

Commit

Permalink
Fix the typo from 'ranmdom' to 'random' as it preventing run the scripts
Browse files Browse the repository at this point in the history
  • Loading branch information
BZ-BowenZhang committed May 9, 2024
1 parent 9b654e6 commit 813f135
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion scripts/1_prep_synthpop.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@

def main():
# Seed RNG
np.ranmdom.seed(SEED)
np.random.seed(SEED)

# Pick a region with SPC output saved
path = "../data/external/spc_output/raw/"
Expand Down
2 changes: 1 addition & 1 deletion scripts/2.1_sandbox-match_households.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@

# Seed RNG
SEED = 0
np.ranmdom.seed(SEED)
np.random.seed(SEED)

# ## Step 1: Load in the datasets

Expand Down
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 @@ -20,7 +20,7 @@

# Seed RNG
SEED = 0
np.ranmdom.seed(SEED)
np.random.seed(SEED)

pd.set_option("display.max_columns", None)

Expand Down

0 comments on commit 813f135

Please sign in to comment.