Skip to content

Commit

Permalink
Corrige nom arguments
Browse files Browse the repository at this point in the history
  • Loading branch information
sylvainipp committed Jan 25, 2024
1 parent 5f3b802 commit 4efe3cc
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion openfisca_survey_manager/calibration.py
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ class Calibration(object):
'initial_weight': None,
'method': None, # 'linear', 'raking ratio', 'logit'
'up': None,
'lo': None
'invlo': None
}
period = None
simulation = None
Expand Down
2 changes: 1 addition & 1 deletion openfisca_survey_manager/scenarios/abstract_scenario.py
Original file line number Diff line number Diff line change
Expand Up @@ -512,7 +512,7 @@ def init_from_data(self, calibration_kwargs = None, inflation_kwargs = None,

if calibration_kwargs is not None:
assert set(calibration_kwargs.keys()).issubset(set(
['target_margins_by_variable', 'parameters', 'total_population']))
['target_margins_by_variable', 'parameters', 'target_entity_count', 'entity']))

if inflation_kwargs is not None:
assert set(inflation_kwargs.keys()).issubset(set(['inflator_by_variable', 'target_by_variable', 'period']))
Expand Down

0 comments on commit 4efe3cc

Please sign in to comment.