diff options
author | tlatorre <tlatorre@uchicago.edu> | 2020-12-22 06:41:13 -0600 |
---|---|---|
committer | tlatorre <tlatorre@uchicago.edu> | 2020-12-22 06:41:13 -0600 |
commit | ae899f497777e7cb1fff7c475ebbf7c6ace4223c (patch) | |
tree | 16d1b69e62e5d0cba0e9a315bd478d2ba973d116 /utils/dm-search | |
parent | 3c09eb24384c2b9ef968cfe58f54ac306dd05327 (diff) | |
download | sddm-ae899f497777e7cb1fff7c475ebbf7c6ace4223c.tar.gz sddm-ae899f497777e7cb1fff7c475ebbf7c6ace4223c.tar.bz2 sddm-ae899f497777e7cb1fff7c475ebbf7c6ace4223c.zip |
fix typo from last commit
Diffstat (limited to 'utils/dm-search')
-rwxr-xr-x | utils/dm-search | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/utils/dm-search b/utils/dm-search index 7e53484..b0812f0 100755 --- a/utils/dm-search +++ b/utils/dm-search @@ -571,8 +571,6 @@ if __name__ == '__main__': # Loop over runs to prevent using too much memory evs = [] for run, df in rhdr.groupby('run'): - if args.run_list and run not in run_list: - continue evs.append(get_events(df.filename.values, merge_fits=True, nhit_thresh=args.nhit_thresh)) ev = pd.concat(evs).reset_index() @@ -697,7 +695,7 @@ if __name__ == '__main__': np.unique(rhdr.run[~rhdr.run.isin(ev_mc.run)].values)) sys.exit(1) - if not args.pull and not args.coverage: + if not args.pull and not args.test: ev_mc = ev_mc[ev_mc.run.isin(rhdr.run)] data_mc = ev_mc[ev_mc.signal & ev_mc.prompt & ~ev_mc.atm] |