Skip to content

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

@sfsinger19103

Description

@sfsinger19103

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))}"

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions