From 625bf3d7f2d0f2fb0befc81d34f04572497a1dcd Mon Sep 17 00:00:00 2001 From: kowalp Date: Thu, 19 Jan 2023 17:11:34 -0500 Subject: [PATCH] Compatible with current MCNPy modules --- src/translate_mcnp_openmc.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/translate_mcnp_openmc.py b/src/translate_mcnp_openmc.py index adaf73d..49331dc 100644 --- a/src/translate_mcnp_openmc.py +++ b/src/translate_mcnp_openmc.py @@ -1,5 +1,5 @@ -from mcnpy.translate_to_openmc import translate +from mcnpy.translate_mcnp_openmc import translate_file if __name__ == '__main__': import sys - translate(sys.argv[1]) \ No newline at end of file + translate_file(sys.argv[1]) \ No newline at end of file