-
Notifications
You must be signed in to change notification settings - Fork 22
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
KeyError when precinct isn't listed under <precincts> #37
Comments
I was using clarify 0.4.0 installed via pip. It looks like the most recent commit (f9bfb09) in this repo solves my issue. However, I also found that, in 0.4.0, simply deleting the second line here ...
...resolved the issue as well. |
Oh, interesting, thanks! |
Do you anticipate a version bump for Clarify soon on PyPi incorporating that change? |
I seem to be having a similar issue. I'm trying to parse Fort Bend County, TX results
|
Last night ran into an issue with a LiveVoterTurnout XML file that Clarify wouldn't parse.
Basically, each Contest had a
Intrastate New Resident
precinct listed. But the master Precincts list didn't include it.This led to a KeyError:
I'm attaching the ZIP file for reference. If I get some time next week I may try to see if I can find a solution and submit a pull request, but wanted to let you know about it.
lincoln-county.zip
The text was updated successfully, but these errors were encountered: