Skip to content
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

AttributeError when running make test on a system with a parameter named children.yaml #1101

Open
MaxGhenis opened this issue Jan 6, 2022 · 0 comments
Labels
kind:bug Bugs are defects and failure demand. level:intermediate Requires average OpenFisca experience type:support Support to the community: bug fixes...

Comments

@MaxGhenis
Copy link
Contributor

After introducing a parameter named children.yaml, running make test produced this error (here's the whole thing):

AttributeError: 'Parameter' object has no attribute 'values'

Changing the name of the parameter fixed it.

If this is a reserved name for traversing the parameter tree, could it throw an informative error message?

@benjello benjello added kind:bug Bugs are defects and failure demand. level:intermediate Requires average OpenFisca experience type:support Support to the community: bug fixes... labels Jan 6, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind:bug Bugs are defects and failure demand. level:intermediate Requires average OpenFisca experience type:support Support to the community: bug fixes...
Projects
None yet
Development

No branches or pull requests

2 participants