From bfb71299938cc3db3394407bf8c35196d11e6e0e Mon Sep 17 00:00:00 2001 From: clallemand <=> Date: Tue, 7 Jan 2025 17:49:01 +0100 Subject: [PATCH] fix get_values --- openfisca_survey_manager/surveys.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/openfisca_survey_manager/surveys.py b/openfisca_survey_manager/surveys.py index c2db47da..0029e811 100644 --- a/openfisca_survey_manager/surveys.py +++ b/openfisca_survey_manager/surveys.py @@ -231,7 +231,7 @@ def get_values(self, variables = None, table = None, lowercase = False, ignoreca if table is None: raise Exception("A table name is needed to retrieve data from a parquet file") for table_name, table_content in self.tables.items(): - if table in table_name: + if table == table_name: parquet_file = table_content.get("parquet_file") # Is parquet_file a folder or a file? if os.path.isdir(parquet_file):