replicahq / doppelganger

A Python package of tools to support population synthesizers
Apache License 2.0
165 stars 32 forks source link

Only generate households once per serial number (fixes #1) #2

Closed katbusch closed 7 years ago

katbusch commented 7 years ago

Fixes #1. Allocated persons are listed once and allocated households are listed once per tract. That difference resulted in households of the same serial number being generated again for each tract. The long-term fix should be to represent allocated persons & households in the same way, but for now I'm just checking that we don't generate the same serial number more than once.


This change is Reviewable

kaelgreco commented 7 years ago
:lgtm:

Cool—thanks for fixing and explaining!


Reviewed 2 of 2 files at r1. Review status: all files reviewed at latest revision, all discussions resolved.


Comments from Reviewable