From df95da90fd74fe0bad621aee656424658e9c2205 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Al=C3=A1n=20Mu=C3=B1oz?= <amuoz@ed.ac.uk>
Date: Tue, 9 Aug 2022 11:16:37 +0100
Subject: [PATCH] refactor(cells): Rename CellsLinear -> Cells

---
 io/cells.py | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/io/cells.py b/io/cells.py
index 0fc63fd4..0fc7b1eb 100644
--- a/io/cells.py
+++ b/io/cells.py
@@ -12,7 +12,7 @@ from scipy.sparse.base import isdense
 from utils_find_1st import cmp_equal, find_1st
 
 
-class CellsLinear:
+class Cells:
     """
     Extracts information from an h5 file. This class accesses:
 
@@ -143,7 +143,7 @@ class CellsLinear:
 
     def group_by_traps(
         self, traps: t.Collection, cell_labels: t.Collection
-    ) -> t.Dict[int, t.List[t.int]]:
+    ) -> t.Dict[int, t.List[int]]:
         # returns a dict with traps as keys and list of labels as value
         # Data is a
         iterator = groupby(zip(traps, cell_labels), lambda x: x[0])
-- 
GitLab