Job Failed #408711: imaging_ecal_pion_rejection has ZeroDivisionError: Weights sum to zero, can't be normalized
Job #408711 failed for 6a53b574:
Incoming particle = e-, pdgcode = 11, charge = -3.0, mass = 0.00051099891
Traceback (most recent call last):
File "/builds/EIC/benchmarks/reconstruction_benchmarks/benchmarks/imaging_ecal/scripts/draw_cluster_layers.py", line 113, in <module>
vec = np.average(dfc[['x', 'y', 'z']].values, axis=0, weights=dfc['energy'].values)
File "<__array_function__ internals>", line 5, in average
File "/usr/local/lib/python3.9/site-packages/numpy/lib/function_base.py", line 409, in average
raise ZeroDivisionError(
ZeroDivisionError: Weights sum to zero, can't be normalized
ERROR running analysis script: draw_cluster_layers
This is failing in the master branch.