Closed thomasdouenne closed 7 years ago
I solved this problem partially. I let you finish the work.
Look at the unfinished rattrapage_diesel and base to finish migrating the reforms
Do not miss the TODO !
Let me know if you have any problem.
It is done. The only problem is that for this to work I had to go in "openfisca-core/taxbenefitsystem.py," in the function "add_variable", and change "update = False" to "update = True". Otherwise it does not take the new variables in the reform. Should I commit and push this change ?
Affichage update = True in the reform
Sorry I don't understand
Add update = True as a keyword argument when adding variables to the reform
@thomasdouenne : did you fix the thing ?
Not yet, do you need this to be fixed very soon?
Just want to know if you are still stuck
No it works well with the change of update = True in taxbenefitsystem so I did not tried yet to put this as an option in the function. I do this tomorrow.
@thomasdouenne : close this if it is done
Move to new issue: update reforms energies
On branch energie-migration, when trying to use a reform (for instance, when we run the script "examples/master_thesis/loosers_within...py") we get the error message :
AttributeError: 'module' object has no attribute 'AbstractReform'
This comes from openfisca_france_indirecttaxation/tests/base.py There should be another way to call these reforms, any idea how to do it ?