fixed tests (#252)
All checks were successful
Build on RHEL8 / build (push) Successful in 3m11s
Build on RHEL9 / build (push) Successful in 3m46s

- fixed failed tests 
- removed import of pickle, scipy 
- still requires boost_histogram, pytest_check

Co-authored-by: Erik Fröjdh <erik.frojdh@psi.ch>
This commit is contained in:
2025-11-28 11:28:13 +01:00
committed by GitHub
parent 1d8b68bf75
commit e795310b16
3 changed files with 2 additions and 150 deletions

View File

@@ -44,8 +44,8 @@ def test_Interpolator():
etacube = np.zeros(shape=[29, 29, 19], dtype=np.float64)
interpolator = _aare.Interpolator(etacube, xbins, ybins, ebins)
assert interpolator.get_ietax().shape == (30,30,20)
assert interpolator.get_ietay().shape == (30,30,20)
assert interpolator.get_ietax().shape == (29,29,19)
assert interpolator.get_ietay().shape == (29,29,19)
clustervector = _aare.ClusterVector_Cluster3x3i()
cluster = _aare.Cluster3x3i(1,1, np.ones(9, dtype=np.int32))