FEM: pep8 code formating

This commit is contained in:
Bernd Hahnebach
2019-09-24 07:33:23 +02:00
parent c5595e2e7b
commit b30021dcb7
2 changed files with 6 additions and 7 deletions

View File

@@ -35,7 +35,7 @@ __url__ = "http://www.freecadweb.org"
import os
import os.path
import threading
# import threading # not used ATM
import shutil
import FreeCAD as App
@@ -498,4 +498,3 @@ class _DocObserver(object):
if femutils.is_derived_from(obj, t):
return True
return False

View File

@@ -146,7 +146,7 @@ def get_dir_setting():
class _SolverDlg(object):
""" Internal query logic for solver specific settings.
Each instance queries settings for one specific solver (e.g. Elmer) common
among all solvers. To clarify: There are a few settings that are useful
for every solver (e.g. where to find the solver binary) but the value and
@@ -154,22 +154,22 @@ class _SolverDlg(object):
class contains all the solver specific paths needed. The settings can be
queried via the methods which use those path members to query the value for
the specific solver.
:ivar default:
Default binary name as a string preferably without a prefix path to
make it more generic (e.g. "ccx"). This only works if the binary can be
found via the PATH environment variable on linux or similar mechanisms
on other operating systems. Used if nothing else is specified by the
user.
:ivar param_path:
Parent param path (FreeCADs settings/parameter system) that contains
all settings for the specific solver.
:ivar use_default:
Param path identifying the "use_default" setting. Only specifie the
last part as the *param_path* is prepended to this value.
:ivar custom_path:
Param path identifying the "custom_path" setting. Only specifie the
last part as the *param_path* is prepended to this value.