From 3d0c49a550e86b36a8fd6918c907085e79a6ec56 Mon Sep 17 00:00:00 2001 From: belthlemar Date: Mon, 30 Sep 2024 17:33:53 +0200 Subject: [PATCH] fix little mypy issue --- antarest/study/business/aggregator_management.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/antarest/study/business/aggregator_management.py b/antarest/study/business/aggregator_management.py index a040faf1de..7f961f7e91 100644 --- a/antarest/study/business/aggregator_management.py +++ b/antarest/study/business/aggregator_management.py @@ -308,7 +308,7 @@ def _process_df(self, file_path: Path, is_details: bool) -> pd.DataFrame: # loop over the cluster id to extract the values of the actual columns for cluster_id, dummy_component in cluster_dummy_product_cols: for actual_col in actual_cols: - col_values = un_normalized_df[(cluster_id, actual_col, dummy_component)].tolist() # type: ignore + col_values = un_normalized_df[(cluster_id, actual_col, dummy_component)].tolist() new_obj[actual_col] += col_values new_obj[CLUSTER_ID_COL] += [cluster_id for _ in range(df_len)] new_obj[TIME_ID_COL] += list(range(1, df_len + 1))