Commit 2ab1a391 authored by Grace Orowo Kagho's avatar Grace Orowo Kagho
Browse files

minor bug fix

parent 5aba6580
......@@ -16,7 +16,7 @@ def compute_cdf(df,bin_size=200):
def execute(context):
# Prepare data
df_persons = context.stage("data.microcensus.persons")[["person_id", "person_weight"]].rename(
df_persons = context.stage("data.microcensus.persons")[["person_id", "person_weight", "weekend"]].rename(
columns={"person_weight": "weight"})
#filter out only persons engaged in weekend trips
......
......@@ -16,7 +16,7 @@ def configure(context):
context.stage("synthesis.population.sampled")
context.stage("synthesis.population.spatial.home.locations")
context.stage("synthesis.population.spatial.primary.weekend.distance_distributions")
context.stage("synthesis.population.spatial.primary.weekend.pry_distance_distributions")
context.stage("synthesis.population.destinations")
context.config("random_seed")
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment