Updates to attribute name

This commit is contained in:
Patrick Shriwise 2022-03-15 09:59:52 -05:00
parent 61bce00f08
commit 176b1a09a3
2 changed files with 2 additions and 2 deletions

View file

@ -585,7 +585,7 @@ def wwinp_to_wws(path):
mesh=mesh,
lower_ww_bounds=ww_lb.flatten(),
upper_bound_ratio=5.0,
energy_bins=e_bounds,
energy_bounds=e_bounds,
particle_type=particle)
wws.append(ww)

View file

@ -117,7 +117,7 @@ def test_wwinp_reader(wwinp_data):
np.testing.assert_allclose(mesh.z_grid, ww.mesh.z_grid, rtol=1e-6)
# check the energy bounds
np.testing.assert_array_equal(e_bounds, ww.energy_bins)
np.testing.assert_array_equal(e_bounds, ww.energy_bounds)
# check the expected weight window values mocked in the file --
# a reversed array of the flat index into the numpy array