diff --git a/scripts/openmc-ace-to-hdf5 b/scripts/openmc-ace-to-hdf5 index 3aeb95198e..7c391fd6fc 100755 --- a/scripts/openmc-ace-to-hdf5 +++ b/scripts/openmc-ace-to-hdf5 @@ -123,8 +123,7 @@ for path in ace_libraries: continue # Re-export - data.export_to_hdf5(converted[name] + '_1', 'w', libver=args.libver) - os.rename(converted[name] + '_1', converted[name]) + data.export_to_hdf5(converted[name], 'w', libver=args.libver) # Write cross_sections.xml library.export_to_xml(args.destination / 'cross_sections.xml')