From 3cb047fa84a467c6965b000c9d36e637e3a6a29d Mon Sep 17 00:00:00 2001
From: Annika Vauth <annika.vauth@desy.de>
Date: Wed, 19 Jul 2023 15:10:25 +0200
Subject: [PATCH] Suppress warning about ndarray from ragged nested sequences

---
 LightSimtastic.py | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/LightSimtastic.py b/LightSimtastic.py
index ff58b53..c09d042 100644
--- a/LightSimtastic.py
+++ b/LightSimtastic.py
@@ -21,7 +21,10 @@ from copy import deepcopy
 
 np.set_printoptions(suppress=True)
 
-                    
+# evil but works: just suppress the numpy nested ragged array warning
+import warnings
+warnings.filterwarnings("ignore", category=np.VisibleDeprecationWarning) 
+
 class SiPMSimulation:
     
     
-- 
GitLab