FEM: code formating, get flake8 quired
This commit is contained in:
parent
8ca705c2d9
commit
8713b7b29e
|
@ -66,7 +66,7 @@ class FemInputWriterCcx(FemInputWriter.FemInputWriter):
|
|||
print('FemInputWriterCcx --> self.file_name --> ' + self.file_name)
|
||||
|
||||
def write_calculix_input_file(self):
|
||||
if self.solver_obj.SplitInputWriter == True:
|
||||
if self.solver_obj.SplitInputWriter is True:
|
||||
self.write_calculix_splitted_input_file()
|
||||
else:
|
||||
self.write_calculix_one_input_file()
|
||||
|
|
|
@ -42,7 +42,7 @@ class _FemSolverCalculix():
|
|||
obj.addProperty("App::PropertyString", "SolverType", "Base", "Type of the solver", 1) # the 1 set the property to ReadOnly
|
||||
obj.SolverType = str(self.Type)
|
||||
|
||||
fem_prefs = FreeCAD.ParamGet("User parameter:BaseApp/Preferences/Mod/Fem/General")
|
||||
# fem_prefs = FreeCAD.ParamGet("User parameter:BaseApp/Preferences/Mod/Fem/General") # not needed ATM
|
||||
ccx_prefs = FreeCAD.ParamGet("User parameter:BaseApp/Preferences/Mod/Fem/Ccx")
|
||||
|
||||
obj.addProperty("App::PropertyPath", "WorkingDir", "Fem", "Working directory for calculations, will only be used it is left blank in preferences")
|
||||
|
|
Loading…
Reference in New Issue
Block a user