Closed nikhilwoodruff closed 2 years ago
Hi @nikhilwoodruff ! Good catch, this seems like a bug, as as you've already noted, all seems to indicate that key
belongs to entities.
Do not hesitate to propose a fix for this @nikhilwoodruff 😊
Thanks for the confirmation @maukoquiroga - I've just filed #1081
Hi there!
I really enjoy OpenFisca, but I recently encountered an issue.
When debugging a whole host of unrelated errors, at some point I managed to trigger the error handler in
Population.check_array_compatible_with_entity
. However, printing that error message threw another error, thatPopulation
has no attributekey
.I couldn't disagree with this new exception - I wonder if in this line, should
self.key
instead beself.entity.key
like other occurrences? I couldn't find any assignment or other usage ofPopulation.key
.