Skip to content

Commit

Permalink
unused arg calling function
Browse files Browse the repository at this point in the history
  • Loading branch information
shimwell committed Apr 29, 2024
1 parent c9a1771 commit ce7884d
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/geouned/GEOUNED/Write/MCNPFormat.py
Original file line number Diff line number Diff line change
Expand Up @@ -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")

Expand Down
2 changes: 1 addition & 1 deletion src/geouned/GEOUNED/Write/OpenMCFormat.py
Original file line number Diff line number Diff line change
Expand Up @@ -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("<geometry>\n")
self.__write_xml_cell_block__()
Expand Down
2 changes: 1 addition & 1 deletion src/geouned/GEOUNED/Write/SerpentFormat.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
"""
Expand Down

0 comments on commit ce7884d

Please sign in to comment.