Closed alexander-held closed 2 years ago
Merging #349 (fb61394) into master (0c75aad) will not change coverage. The diff coverage is
100.00%
.
@@ Coverage Diff @@
## master #349 +/- ##
=========================================
Coverage 100.00% 100.00%
=========================================
Files 23 23
Lines 1902 1901 -1
Branches 303 303
=========================================
- Hits 1902 1901 -1
Impacted Files | Coverage Δ | |
---|---|---|
src/cabinetry/contrib/histogram_creator.py | 100.00% <100.00%> (ø) |
Continue to review full report at Codecov.
Legend - Click here to learn more
Δ = absolute <relative> (impact)
,ø = not affected
,? = missing data
Powered by Codecov. Last update 0c75aad...fb61394. Read the comment docs.
The tests of the most recent versions of dependencies started failing for
uproot5
. The reason is thatuproot5
uses theawkward
v2 API, but the histogram creation code incabinetry
usesawkward
directly as well (which currently results in v1). The two do not mix:results in
The solution is to call
.to_numpy()
on the relevant arrays instead, which will then use the v2 API in these tests. Asuproot5
andawkward
v2 should release at the same time, this probably would not have an impact on users, but this change should keep the tests working.