Skip to content

Commit

Permalink
Merge pull request #115 from iris-hep/fix_imported-module-names
Browse files Browse the repository at this point in the history
Fix imported module names
  • Loading branch information
masonproffitt authored Oct 20, 2023
2 parents 0fd7be3 + 35f2915 commit 41fcae1
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 3 deletions.
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
'awkward>=2.0.9',
'dask[complete]',
'dask-awkward>=2023.8.1',
'func-adl>=3.1',
'func-adl>=3.2.7',
'numpy',
'qastle>=0.16.1',
'uproot>=5',
Expand Down
9 changes: 7 additions & 2 deletions tests/test_adl_benchmarks.py
Original file line number Diff line number Diff line change
Expand Up @@ -1204,8 +1204,13 @@ def test_adl_benchmark_8():
)
# Quotes needed around lambda here due to https://github.com/iris-hep/func_adl/issues/127
.Select(
'lambda event: (2 * event.leading_other_lepton_p4.pt * event.met.pt'
' * (1 - np.cos(event.leading_other_lepton_p4.deltaphi(event.met)))) ** 0.5'
lambda event: (
2
* event.leading_other_lepton_p4.pt
* event.met.pt
* (1 - np.cos(event.leading_other_lepton_p4.deltaphi(event.met)))
)
** 0.5
)
)
(
Expand Down

0 comments on commit 41fcae1

Please sign in to comment.