FEM: Python pep8 code formatting

This commit is contained in:
Bernd Hahnebach
2022-08-06 22:25:37 +02:00
parent f39330163d
commit 3369aa4eca
4 changed files with 11 additions and 7 deletions

View File

@@ -292,13 +292,13 @@ class FemInputWriterZ88(writerbase.FemInputWriter):
MaxGS = prefs.GetInt("MaxGS", 100000000)
MaxKOI = prefs.GetInt("MaxKOI", 2800000)
global z88_dyn_template
templateArray = z88_dyn_template.splitlines()
template_array = z88_dyn_template.splitlines()
output = ""
for line in templateArray:
for line in template_array:
if line.find("MAXGS") > -1:
line = " MAXGS " + str(MaxGS)
line = " MAXGS {}".format(MaxGS)
if line.find("MAXKOI") > -1:
line = " MAXKOI " + str(MaxKOI)
line = " MAXKOI {}".format(MaxKOI)
output += line + "\n"
solver_parameter_file_path = self.file_name + ".dyn"