chicago-police-violence / data

Dataset about the personnel, use of force, and complaints in the Chicago Police Department
MIT License
7 stars 0 forks source link

parse creates output even if it fails #20

Closed trevorcampbell closed 3 years ago

trevorcampbell commented 3 years ago

If one runs make parse, for each parse step, utils.process creates a file immediately; if it fails it just exits. Then if one runs make parse again, it won't re-run that step (since the file exists).

Should add some error processing to make parse; if there is any exception, catch it, delete the file, and then re-raise.