diff --git a/extraction/core/extractor.py b/extraction/core/extractor.py index dd5af63f8fe0443d482b713c7d3032e1e7844e36..629908b8e63293a9ac8138f866d0cefd2d4a7e2a 100644 --- a/extraction/core/extractor.py +++ b/extraction/core/extractor.py @@ -373,13 +373,6 @@ class Extractor(ProcessABC): t = perf_counter() if masks is None: raw_masks = cells.at_time(tp, kind="mask") - nmasks = len([y.shape for x in raw_masks.values() for y in x]) - # plt.imshow(np.dstack(raw_masks.get(1, [[]])).sum(axis=2)) - # plt.savefig(f"{tp}.png") - # plt.close() - logging.debug(f"Timing:nmasks:{nmasks}") - logging.debug(f"Timing:MasksFetch:TP_{tp}:{perf_counter() - t}s") - masks = {trap_id: [] for trap_id in range(cells.ntraps)} for trap_id, cells in raw_masks.items(): if len(cells):