From 19c5def5ce8c91c38e19fbc700bf5443e2032204 Mon Sep 17 00:00:00 2001
From: polarbean <harry.carey95@gmail.com>
Date: Tue, 25 Mar 2025 20:40:59 +0100
Subject: [PATCH] removed unused function

---
 PyNutil/processing/utils.py | 30 ------------------------------
 1 file changed, 30 deletions(-)

diff --git a/PyNutil/processing/utils.py b/PyNutil/processing/utils.py
index a73a6f7..55a43c9 100644
--- a/PyNutil/processing/utils.py
+++ b/PyNutil/processing/utils.py
@@ -137,36 +137,6 @@ def get_flat_files(folder, use_flat=False):
     return [], []
 
 
-def initialize_lists(length):
-    """
-    Initializes lists for storing points, centroids, and region areas.
-
-    Args:
-        length (int): Length of the lists.
-
-    Returns:
-        tuple: Initialized lists.
-    """
-    points_list = [np.array([])] * length
-    centroids_list = [np.array([])] * length
-    region_areas_list = [
-        pd.DataFrame(
-            {
-                "idx": [],
-                "name": [],
-                "r": [],
-                "g": [],
-                "b": [],
-                "region_area": [],
-                "pixel_count": [],
-                "object_count": [],
-                "area_fraction": [],
-            }
-        )
-    ] * length
-    return points_list, centroids_list, region_areas_list
-
-
 def get_current_flat_file(seg_nr, flat_files, flat_file_nrs, use_flat):
     """
     Determines the correct flat file for a given section number.
-- 
GitLab