Skip to content

Commit

Permalink
FEM: Move known_analysis_type definition to class definition
Browse files Browse the repository at this point in the history
Signed-off-by: Przemo Firszt <przemo@firszt.eu>
  • Loading branch information
PrzemoF authored and wwmayer committed Oct 19, 2015
1 parent f095106 commit cf7f82c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/Mod/Fem/FemTools.py
Expand Up @@ -29,6 +29,8 @@ class FemTools(QtCore.QRunnable, QtCore.QObject):

finished = QtCore.Signal(int)

known_analysis_types = ["static", "frequency"]

## The constructor
# @param analysis - analysis object to be used as the core object.
# @param test_mode - True indicates that no real calculations will take place, so ccx bianry is not required. Used by test module.
Expand All @@ -38,8 +40,6 @@ def __init__(self, analysis=None, test_mode=False):
QtCore.QRunnable.__init__(self)
QtCore.QObject.__init__(self)

self.known_analysis_types = ["static", "frequency"]

if analysis:
## @var analysis
# FEM analysis - the core object. Has to be present.
Expand Down

0 comments on commit cf7f82c

Please sign in to comment.