Skip to content

Commit

Permalink
fix config file directory
Browse files Browse the repository at this point in the history
  • Loading branch information
clallemand committed Nov 7, 2023
1 parent af576e6 commit ea591f1
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions openfisca_france_data/erfs_fpr/get_survey_scenario.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@
from openfisca_france_data.erfs_fpr.scenario import ErfsFprSurveyScenario
from openfisca_france_data import france_data_tax_benefit_system

from openfisca_survey_manager import default_config_files_directory

from openfisca_france_data.model.id_variables import (
idmen_original,
Expand Down Expand Up @@ -102,6 +103,7 @@ def get_survey_scenario(
variation_factor: float = 0.03,
varying_variable: str = None,
survey_name: str = "input",
config_files_directory : str = default_config_files_directory,
) -> ErfsFprSurveyScenario:
"""Helper pour créer un `ErfsFprSurveyScenario`.
Expand Down Expand Up @@ -153,6 +155,8 @@ def get_survey_scenario(
input_data_table_by_entity_by_period = input_data_table_by_entity_by_period,
survey = survey_name
)
data["config_files_directory"] = config_files_directory


# Les données peuvent venir en différents formats :
#
Expand Down

0 comments on commit ea591f1

Please sign in to comment.