From fc3d94b781b26e9ad4a885b77f847d329040f856 Mon Sep 17 00:00:00 2001 From: Joffrey Dorville Date: Thu, 4 Aug 2022 11:24:46 -0600 Subject: [PATCH] Apply @paulromano suggestions --- openmc/data/njoy.py | 4 ++-- openmc/data/reaction.py | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/openmc/data/njoy.py b/openmc/data/njoy.py index 70351a7721..d8ecaae183 100644 --- a/openmc/data/njoy.py +++ b/openmc/data/njoy.py @@ -127,7 +127,7 @@ acer / %%%%%%%%%%%%%%%%%%%%%%%% Write out in ACE format %%%%%%%%%%%%%%%%%%%%%%%% 1 0 1 .{ext} / '{library}: {zsymam} at {temperature}'/ {mat} {temperature} -1 1 {ismoothing}/ +1 1 {ismooth}/ / """ @@ -383,7 +383,7 @@ def make_ace(filename, temperatures=None, acer=True, xsdir=None, # acer if acer: - ismoothing = int(smoothing) + ismooth = int(smoothing) nacer_in = nlast for i, temperature in enumerate(temperatures): # Extend input with an ACER run for each temperature diff --git a/openmc/data/reaction.py b/openmc/data/reaction.py index 42fc576da2..a2431cf1ce 100644 --- a/openmc/data/reaction.py +++ b/openmc/data/reaction.py @@ -82,7 +82,7 @@ def _get_products(ev, mt): Raises ------ - IOError: + IOError When the Kalbach-Mann systematics is used, but the product is not defined in the 'center-of-mass' system. The breakup logic is not implemented which can lead to this error being raised while