File tree Expand file tree Collapse file tree 3 files changed +7
-5
lines changed Expand file tree Collapse file tree 3 files changed +7
-5
lines changed Original file line number Diff line number Diff line change 50
50
--durations=20
51
51
52
52
- name : Upload coverage report
53
-
53
+
54
54
with :
55
55
token : ${{ secrets.CODECOV_TOKEN }}
Original file line number Diff line number Diff line change @@ -18,7 +18,7 @@ def jetid_v12(jets: ak.Array) -> ak.Array:
18
18
| (
19
19
((np .abs (jets .eta ) > 2.7 ) & (np .abs (jets .eta ) <= 3.0 ))
20
20
& jetidtightbit
21
- & (jets .neHEF >= 0.99 )
21
+ & (jets .neHEF < 0.99 )
22
22
)
23
23
| ((np .abs (jets .eta ) > 3.0 ) & jetidtightbit & (jets .neEmEF < 0.4 ))
24
24
)
Original file line number Diff line number Diff line change @@ -514,9 +514,11 @@ def load_sample(
514
514
515
515
# find the directory that contains the sample
516
516
for sp in sample_path :
517
- spy = sp / year
518
- full_samples_list = listdir (spy ) # get all directories in data_dir
519
- load_samples = [str (s ) for s in full_samples_list if sample .get_selector (year ).match (s )]
517
+ spy = Path (sp ) / year
518
+ full_samples_list = list (spy .iterdir ()) # get all directories in data_dir
519
+ load_samples = [
520
+ s .name for s in full_samples_list if sample .get_selector (year ).match (s .name )
521
+ ]
520
522
if len (load_samples ):
521
523
sample_path = spy
522
524
break
You can’t perform that action at this time.
0 commit comments