Skip to content

Commit

Permalink
FEM: elmer tasks, fix result and output creation
Browse files Browse the repository at this point in the history
  • Loading branch information
berndhahnebach committed Apr 27, 2020
1 parent d1ccfa7 commit b25f7f4
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/Mod/Fem/femsolver/elmer/tasks.py
Expand Up @@ -127,8 +127,11 @@ def _createOutput(self):
self.solver.ElmerOutput = self.analysis.Document.addObject(
"App::TextDocument", self.solver.Name + "Output")
self.solver.ElmerOutput.Label = self.solver.Label + "Output"
self.solver.ElmerOutput.ReadOnly = True
# App::TextDocument has no Attribute ReadOnly
# TODO check if the attribute has been removed from App::TextDocument
# self.solver.ElmerOutput.ReadOnly = True
self.analysis.addObject(self.solver.ElmerOutput)
self.solver.Document.recompute()


class Results(run.Results):
Expand Down

0 comments on commit b25f7f4

Please sign in to comment.