aboutsummaryrefslogtreecommitdiff
path: root/utils/plot-energy
diff options
context:
space:
mode:
authortlatorre <tlatorre@uchicago.edu>2019-10-05 10:49:46 -0500
committertlatorre <tlatorre@uchicago.edu>2019-10-05 10:49:46 -0500
commit3b588eeef1d08f1428b2808401da4395a5dedd0b (patch)
treed2c985873b9779c86b5c5242f56b6ce878e21b8b /utils/plot-energy
parent2d16c41cea48bb4660469e94de9949fbc3880c74 (diff)
downloadsddm-3b588eeef1d08f1428b2808401da4395a5dedd0b.tar.gz
sddm-3b588eeef1d08f1428b2808401da4395a5dedd0b.tar.bz2
sddm-3b588eeef1d08f1428b2808401da4395a5dedd0b.zip
fix typo in plot-energy
Diffstat (limited to 'utils/plot-energy')
-rwxr-xr-xutils/plot-energy2
1 files changed, 1 insertions, 1 deletions
diff --git a/utils/plot-energy b/utils/plot-energy
index ce4fb89..66691e0 100755
--- a/utils/plot-energy
+++ b/utils/plot-energy
@@ -259,7 +259,7 @@ def gtid_sort(ev, first_gtid):
if run not in first_gtid:
print_warning("No RHDR bank for run %i! Assuming first event is the first GTID." % run)
- first_gtid[run] = ev_run.gtid[0]
+ first_gtid[run] = ev.gtid[0]
ev.loc[ev.gtid < first_gtid[run],'gtid_sort'] += 0x1000000