Formatting

This commit is contained in:
Patrick Shriwise 2022-09-17 12:06:12 -05:00
parent 8228db6d47
commit a6c5dd4d8a

View file

@ -80,9 +80,13 @@ def model():
list(openmc.EnergyFunctionFilter.INTERPOLATION_SCHEMES.keys())
for i_val in interpolation_vals:
# breakpoint here is fake and unused
t1d = openmc.data.Tabulated1D(x, y, breakpoints=[1], interpolation=[i_val])
t1d = openmc.data.Tabulated1D(x,
y,
breakpoints=[1],
interpolation=[i_val])
f = openmc.EnergyFunctionFilter.from_tabulated1d(t1d)
assert f.interpolation == openmc.EnergyFunctionFilter.INTERPOLATION_SCHEMES[i_val]
assert f.interpolation == \
openmc.EnergyFunctionFilter.INTERPOLATION_SCHEMES[i_val]
return model