diff options
Diffstat (limited to 'utils/dm-search')
-rwxr-xr-x | utils/dm-search | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/utils/dm-search b/utils/dm-search index 731923c..24fb6a0 100755 --- a/utils/dm-search +++ b/utils/dm-search @@ -690,9 +690,9 @@ if __name__ == '__main__': #muon = ev[ev.muon & ev.prompt & ~ev.atm] #muon_atm = ev[ev.muon & ev.prompt & ev.atm] - if (~rhdr.run.isin(ev_mc.run)).any(): + if (~ev.run.isin(ev_mc.run)).any(): print_warning("Error! The following runs have no Monte Carlo: %s" % \ - rhdr.run[~rhdr.run.isin(ev_mc.run)].values) + np.unique(ev.run[~ev.run.isin(ev_mc.run)].values)) sys.exit(1) if not args.pull and not args.test: |