From ce7884dc3a5345379b51c9e5d567fe83b4ce0711 Mon Sep 17 00:00:00 2001 From: Jonathan Shimwell Date: Mon, 29 Apr 2024 16:56:44 +0100 Subject: [PATCH] unused arg calling function --- src/geouned/GEOUNED/Write/MCNPFormat.py | 2 +- src/geouned/GEOUNED/Write/OpenMCFormat.py | 2 +- src/geouned/GEOUNED/Write/SerpentFormat.py | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/geouned/GEOUNED/Write/MCNPFormat.py b/src/geouned/GEOUNED/Write/MCNPFormat.py index c1509074..ab4221f1 100644 --- a/src/geouned/GEOUNED/Write/MCNPFormat.py +++ b/src/geouned/GEOUNED/Write/MCNPFormat.py @@ -71,7 +71,7 @@ def setSDEF(self, data): def writeInput(self, filename): print("write MCNP file {}".format(filename)) self.inpfile = open(filename, "w", encoding="utf-8") - self.__write_header__(filename) + self.__write_header__() self.__write_cell_block__() self.inpfile.write(" \n") diff --git a/src/geouned/GEOUNED/Write/OpenMCFormat.py b/src/geouned/GEOUNED/Write/OpenMCFormat.py index c138e7e3..67d1d7dd 100644 --- a/src/geouned/GEOUNED/Write/OpenMCFormat.py +++ b/src/geouned/GEOUNED/Write/OpenMCFormat.py @@ -24,7 +24,7 @@ def __init__(self, Meta, Surfaces, setting): def writeXML(self, filename): print("write OpenMC xml file {}".format(filename)) self.inpfile = open(filename, "w", encoding="utf-8") - self.__write_xml_header__(filename) + self.__write_xml_header__() self.inpfile.write("\n") self.__write_xml_cell_block__() diff --git a/src/geouned/GEOUNED/Write/SerpentFormat.py b/src/geouned/GEOUNED/Write/SerpentFormat.py index e9b246b8..4ff4e5b6 100644 --- a/src/geouned/GEOUNED/Write/SerpentFormat.py +++ b/src/geouned/GEOUNED/Write/SerpentFormat.py @@ -63,7 +63,7 @@ def __init__(self, Meta, Surfaces, setting): def writeInput(self, filename): print(f"write Serpent file {filename}") self.inpfile = open(filename, "w", encoding="utf-8") - self.__write_header__(filename) + self.__write_header__() cellblockHeader = """\ % --- CELL DEFINITIONS """