Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 6 additions & 1 deletion generate_endf.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
from shutil import rmtree, copy, copyfileobj

import openmc.data
from utils import download, process_neutron, process_thermal
from utils import download, process_neutron, process_thermal, update_zsymam


class CustomFormatter(argparse.ArgumentDefaultsHelpFormatter,
Expand Down Expand Up @@ -459,6 +459,11 @@ def sort_key(path):

if 'thermal' in args.particles:
particle = 'thermal'
if args.release == 'viii.1':
# Patch non-unique ZSYMAM fields
update_zsymam(thermal_dir / 'tsl-UinUO2-5P.endf', 'UUO2-5P')
update_zsymam(thermal_dir / 'tsl-UinUO2-10P.endf', 'UUO2-10P')
update_zsymam(thermal_dir / 'tsl-UinUO2-100P.endf', 'UUO2-100P')
with Pool() as pool:
details = release_details[args.release][particle]
results = []
Expand Down