Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Names of jurisdictions without major subdivisions are not reported when Analyzer fails #754

Open
sfsinger19103 opened this issue Jul 30, 2022 · 0 comments
Assignees
Labels
bug Something isn't working

Comments

@sfsinger19103
Copy link
Contributor

sfsinger19103 commented Jul 30, 2022

The problem is this line of code in electiondata/__init__.py, which does not include the list of bad jurisdictions in the error message.

    if bad_jurisdictions:
        err_string = f"No Analyzer created, because no major subdivisions were found for these jurisdictions:\n"
        f"{sorted(list(bad_jurisdictions))}"
@sfsinger19103 sfsinger19103 added the bug Something isn't working label Jul 30, 2022
@sfsinger19103 sfsinger19103 self-assigned this Jul 30, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant