Change "update_params" to "update_parameters" in test suite: test_ww_gen.py (#2577)

This commit is contained in:
Jack Fletcher 2023-06-28 18:57:44 -04:00 committed by GitHub
parent 51cf475723
commit b6c621f9b4
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -229,9 +229,9 @@ def test_ww_gen_roundtrip(run_in_tmpdir, model):
particle_type = 'neutron'
wwg = openmc.WeightWindowGenerator(mesh, energy_bounds, particle_type)
wwg.update_params = {'ratio' : 5.0,
'threshold': 0.8,
'value' : 'mean'}
wwg.update_parameters = {'ratio' : 5.0,
'threshold': 0.8,
'value' : 'mean'}
model.settings.weight_window_generators = wwg
model.export_to_xml()