Skip to content

Commit

Permalink
Fixed ELCM job sector filtering not working
Browse files Browse the repository at this point in the history
  • Loading branch information
tianxie1995 committed Oct 25, 2024
1 parent 6637c6c commit 6654704
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lcm_utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -173,7 +173,7 @@ def choice_model_simulate(emp_location_choice_models):
filter_text = ''
for cat_name, categories in model_desc['job_categories'].items():
for cat in categories:
if cat in model_name.split('_'):
if cat in model_name.split('.')[0].split('_'):
filter_text += '&(%s_%s==1)' % (cat_name, cat)
break

Expand Down

1 comment on commit 6654704

@tianxie1995
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

#58 new run1290 with the fix

Please sign in to comment.