Skip to content

Commit

Permalink
retour commentaires revue
Browse files Browse the repository at this point in the history
  • Loading branch information
clallemand committed Aug 9, 2024
1 parent 85798b4 commit eee061f
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 2 additions & 0 deletions openfisca_france_data/pote/input_data_builder/console.py
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,8 @@ def build_pote_input_data(year=2022,chunk_size=1000000, config_files_directory=d
- chunk_size : nombre de ligne par morceau de POTE lu. Lecture par bout par contrainte de mémoire sur le CASD
- config_files_directory : chemin du `.config/openfisca-survey-scenario`. voir dans .gitlab-ci/.gitlab-ci/pote_openfisca_survey_manager_config.ini pour un exemple
- taux_non_null : taux minimum de valeur non nulle dans une colonne POTE pour qu'elle soit gardée. Toutes les variables ne sont pas gardées par contrainte de mémoire
Les valeurs par défaut sont celles qui fonctionnent pour une machine avec 12 Go de RAM
"""

log.info(f"Debut de la préparation de POTE {year} pour Openfisca France")
Expand Down
2 changes: 0 additions & 2 deletions openfisca_france_data/pote/survey_scenario.py
Original file line number Diff line number Diff line change
Expand Up @@ -85,13 +85,11 @@ def __init__(
self.used_as_input_variables = var_to_keep + var_create_in_custom_input_data_frame
else:
self.used_as_input_variables = used_as_input_variables
#print("Données du scenario : \n", data)
if init_from_data:
self.simulations = dict()
self.init_from_data(
data=data,
rebuild_input_data=rebuild_input_data,
#config_files_directory=data["config_files_directory"]
)
def init_from_data(self, rebuild_input_data=False, data=None):
if rebuild_input_data:
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@
"pypandoc",
'pytest >=7.2.2, <8.0',
"scipy >=1.2.1, <2.0.0",
"toolz >=0.9.0, <1.0.0"
"toolz >=0.9.0, <1.0.0",
]
},
packages = find_namespace_packages(exclude = ("docs", "tests")),
Expand Down

0 comments on commit eee061f

Please sign in to comment.