From c9a17716a232675422f03d2f3cfa18d34e42dc02 Mon Sep 17 00:00:00 2001 From: Jonathan Shimwell Date: Mon, 29 Apr 2024 16:49:24 +0100 Subject: [PATCH] unused arg --- src/geouned/GEOUNED/Utils/Qform.py | 1 - src/geouned/GEOUNED/Write/OpenMCFormat.py | 4 ++-- src/geouned/GEOUNED/Write/PHITSFormat.py | 2 +- src/geouned/GEOUNED/Write/SerpentFormat.py | 2 +- 4 files changed, 4 insertions(+), 5 deletions(-) diff --git a/src/geouned/GEOUNED/Utils/Qform.py b/src/geouned/GEOUNED/Utils/Qform.py index 006139e1..f0cbeaf8 100644 --- a/src/geouned/GEOUNED/Utils/Qform.py +++ b/src/geouned/GEOUNED/Utils/Qform.py @@ -7,7 +7,6 @@ import math import FreeCAD -import Part def RotationMatrix(u, v): diff --git a/src/geouned/GEOUNED/Write/OpenMCFormat.py b/src/geouned/GEOUNED/Write/OpenMCFormat.py index b10885e7..c138e7e3 100644 --- a/src/geouned/GEOUNED/Write/OpenMCFormat.py +++ b/src/geouned/GEOUNED/Write/OpenMCFormat.py @@ -35,7 +35,7 @@ def writeXML(self, filename): self.inpfile.close() return - def __write_xml_header__(self, fileout): + def __write_xml_header__(self): Header = "\n" self.inpfile.write(Header) return @@ -113,7 +113,7 @@ def writePY(self, filename): self.inpfile.close() return - def __write_py_header__(self, fileout): + def __write_py_header__(self): Header = """\ # openMC geometry script generated by GEOUNED diff --git a/src/geouned/GEOUNED/Write/PHITSFormat.py b/src/geouned/GEOUNED/Write/PHITSFormat.py index 7754a11d..1698d69b 100644 --- a/src/geouned/GEOUNED/Write/PHITSFormat.py +++ b/src/geouned/GEOUNED/Write/PHITSFormat.py @@ -119,7 +119,7 @@ def writePHITS(self, filename): self.inpfile.close() return - def __write_PHITS_header__(self, fileout): + def __write_PHITS_header__(self): version = GEOUNED_Version releaseDate = GEOUNED_ReleaseDate diff --git a/src/geouned/GEOUNED/Write/SerpentFormat.py b/src/geouned/GEOUNED/Write/SerpentFormat.py index 87fa7b68..e9b246b8 100644 --- a/src/geouned/GEOUNED/Write/SerpentFormat.py +++ b/src/geouned/GEOUNED/Write/SerpentFormat.py @@ -83,7 +83,7 @@ def writeInput(self, filename): self.inpfile.close() return - def __write_header__(self, fileout): + def __write_header__(self): version = GEOUNED_Version releaseDate = GEOUNED_ReleaseDate