Skip to content

Commit

Permalink
fix little mypy issue
Browse files Browse the repository at this point in the history
  • Loading branch information
MartinBelthle committed Sep 30, 2024
1 parent 549faff commit 3d0c49a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion antarest/study/business/aggregator_management.py
Original file line number Diff line number Diff line change
Expand Up @@ -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))
Expand Down

0 comments on commit 3d0c49a

Please sign in to comment.