Misc. typos

This commit is contained in:
luz.paz
2018-05-13 13:52:01 -04:00
committed by luz paz
parent ac6ae007b2
commit 6e64b4f75d
29 changed files with 44 additions and 44 deletions

View File

@@ -708,7 +708,7 @@ class _CommandFemSolverZ88(CommandManager):
FreeCADGui.doCommand("FemGui.getActiveAnalysis().addObject(ObjectsFem.makeSolverZ88(FreeCAD.ActiveDocument))")
# the sting in add command will be the page name on FreeCAD wiki
# the string in add command will be the page name on FreeCAD wiki
FreeCADGui.addCommand('FEM_Analysis', _CommandFemAnalysis())
FreeCADGui.addCommand('FEM_ConstraintBodyHeatSource', _CommandFemConstraintBodyHeatSource())
FreeCADGui.addCommand('FEM_ConstraintElectrostaticPotential', _CommandFemConstraintElectrostaticPotential())

View File

@@ -114,7 +114,7 @@ def import_z88_disp(filename, analysis=None, result_name_prefix=None):
def read_z88_disp(z88_disp_input):
'''
read a z88 disp file and extract the nodes and elements
z88 Displacment output file is z88o2.txt
z88 Displacement output file is z88o2.txt
works with Z88OS14
'''
nodes = {}

View File

@@ -96,7 +96,8 @@ def compare_files(file_name1, file_name2):
file1 = open(file_name1, 'r')
f1 = file1.readlines()
file1.close()
# workaraound for compare geos of elmer test and temporary file path (not only names change, path changes with operating system)
# workaround to compare geos of elmer test and temporary file path
# (not only names change, path changes with operating system)
lf1 = [l for l in f1 if not (l.startswith('Merge "') or l.startswith('Save "') or l.startswith('// '))]
lf1 = force_unix_line_ends(lf1)
file2 = open(file_name2, 'r')