From 3e652accfb6adfcfe12647b74432c719de6bdf15 Mon Sep 17 00:00:00 2001 From: nuluh Date: Fri, 13 Jun 2025 19:57:06 +0700 Subject: [PATCH] refactor(data): remove unnecessary variable declaration in DataProcessor for loading dataframes --- data/QUGS/convert.py | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/data/QUGS/convert.py b/data/QUGS/convert.py index d495b0d..6e95377 100644 --- a/data/QUGS/convert.py +++ b/data/QUGS/convert.py @@ -133,10 +133,7 @@ class DataProcessor: # Fill the list with data for group_idx, file_list in self.file_index.items(): - # Adjust index to be 0-based - list_idx = group_idx - data[list_idx] = [self._load_dataframe(file) for file in file_list] - + data[group_idx] = [self._load_dataframe(file) for file in file_list] return data def get_group_data(self, group_idx: int) -> List[pd.DataFrame]: