From ec5494ebd6eb9bad2fde39a7efc8ffc7d626cd1b Mon Sep 17 00:00:00 2001 From: Anna Bergamaschi Date: Fri, 26 Apr 2024 08:35:14 +0200 Subject: [PATCH] Removed limit on max clusters in the loop --- examples/clustersFunctions.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/examples/clustersFunctions.py b/examples/clustersFunctions.py index 5f39f98..a9c3075 100644 --- a/examples/clustersFunctions.py +++ b/examples/clustersFunctions.py @@ -33,7 +33,7 @@ def color_images_bh(r, emin, emax, ebins, xmin, xmax, ymin, ymax, hist3d=None, bh.axis.Regular(ebins, emin, emax), ) n=0 - while (((cl:=r.read(100000,noisemap)).size)and (n<1E7)): + while (((cl:=r.read(100000,noisemap)).size)):#and (n<1E7)): v=cr.clusterize(csize,cl['data']) vv=[cl['x'],cl['y'],v['tot']/gain] hist3d.fill(*vv)