Apply suggestions from code review

Co-authored-by: Patrick Shriwise <pshriwise@gmail.com>
This commit is contained in:
Rémi Delaporte-Mathurin 2022-11-21 09:39:01 -05:00 committed by GitHub
parent c5affa805e
commit 6d787d5fb0
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 4 additions and 7 deletions

View file

@ -53,7 +53,6 @@ def test_activation(run_in_tmpdir, model, reaction_rate_mode, reaction_rate_opts
# Determine (n.gamma) reaction rate using initial run
sp = model.run()
with openmc.StatePoint(sp) as sp:
print(sp.tallies)
tally = sp.get_tally(name='activation tally')
capture_rate = tally.mean.flat[0]