electiondata icon indicating copy to clipboard operation
electiondata copied to clipboard

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

Open sfsinger19103 opened this issue 4 years ago • 0 comments

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 avatar Jul 30 '22 03:07 sfsinger19103