aboutsummaryrefslogtreecommitdiff
path: root/utils/sddm/plot_energy.py
diff options
context:
space:
mode:
Diffstat (limited to 'utils/sddm/plot_energy.py')
-rwxr-xr-xutils/sddm/plot_energy.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/utils/sddm/plot_energy.py b/utils/sddm/plot_energy.py
index 5bb464e..c0c0be8 100755
--- a/utils/sddm/plot_energy.py
+++ b/utils/sddm/plot_energy.py
@@ -600,7 +600,7 @@ def get_events(filenames, merge_fits=False):
if merge_fits:
ev = pd.merge(ev,fits,how='left',on=['run','gtid'])
# Reset n, id1, id2, and id3 columns to integers
- for column in ['n','id1','id2','id3']:
+ for column in ['n','id','id1','id2','id3']:
ev[column] = ev[column].fillna(0)
ev[column] = ev[column].astype(np.int32)
# Set the index to (run, gtid) so we can set columns from the single particle results