diff --git a/LightSimtastic.py b/LightSimtastic.py index ff58b539c3055fa426c61146f0165734f143a15b..c09d042a8136e452a3d0e5cf0e3dabc6f6bef2cd 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: