Skip to content

Commit

Permalink
Correcting view_columns in job_sec module (was causing Vivarium Popul…
Browse files Browse the repository at this point in the history
…ationError)
  • Loading branch information
paddy-r committed Nov 28, 2024
1 parent 9f16df6 commit 382c137
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion minos/modules/job_sec.py
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ def setup(self, builder):
# columns_created is the columns created by this module.
# view_columns is the columns from the main population used in this module. essentially what is needed for
# transition models and any outputs.
view_columns = []
view_columns = ["job_sec", "age", "sex", "ethnicity", "region", "education_state", "S7_labour_state"]
self.population_view = builder.population.get_view(columns=view_columns)

# Population initialiser. When new individuals are added to the microsimulation a constructer is called for each
Expand Down

0 comments on commit 382c137

Please sign in to comment.