You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I really enjoy OpenFisca, but I recently encountered an issue.
Here is what I did:
I used holder.set_inputto set a variable (which do have formaulas) to a specific vector of values.
But since this variable was in the memory_config.variables_to_drop list, it was never set.
When called by calculate it used the formula or when the formula do not exists it used the default value.
Here is what I expected to happen:
I wanted to find back the value I explicitly set.
Here is what actually happened:
The value was never set.
When called by calculate it used the formula or when the formula do not exists it used the default value.
Context
Using openfisca-france with survey data
I identify more as a:
Analyst (I make macroscopic computations on real populations).
Developer (I create tools that use the existing OpenFisca code).
The text was updated successfully, but these errors were encountered:
fpagnoux
changed the title
Potential problem when using holder.set_input and memory_config.variables_to_drop
Enable setting variables even if they are not cached
Jul 9, 2018
Hi there!
I really enjoy OpenFisca, but I recently encountered an issue.
Here is what I did:
I used
holder.set_input
to set a variable (which do have formaulas) to a specific vector of values.But since this variable was in the
memory_config.variables_to_drop
list, it was never set.When called by calculate it used the formula or when the formula do not exists it used the default value.
Here is what I expected to happen:
I wanted to find back the value I explicitly set.
Here is what actually happened:
The value was never set.
When called by calculate it used the formula or when the formula do not exists it used the default value.
Context
Using openfisca-france with survey data
I identify more as a:
The text was updated successfully, but these errors were encountered: