mirror of
https://github.com/openmc-dev/openmc.git
synced 2026-07-28 14:15:42 -04:00
Fix pathlib use error in openmc-ace-to-hdf5
This commit is contained in:
parent
4c17061a1d
commit
0941664e8a
1 changed files with 1 additions and 2 deletions
|
|
@ -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')
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue