Skip to content

Commit

Permalink
[pre-commit.ci] auto fixes from pre-commit.com hooks
Browse files Browse the repository at this point in the history
for more information, see https://pre-commit.ci
  • Loading branch information
pre-commit-ci[bot] committed Dec 6, 2024
1 parent 7f71957 commit f8cec61
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions src/Mod/Fem/femresult/resulttools.py
Original file line number Diff line number Diff line change
Expand Up @@ -64,8 +64,9 @@ def purge_results(analysis):

# output text object
for m in analysis.Group:
if is_of_type(m, "App::TextDocument") and (m.Name.startswith("ccx_dat_file") or
m.Name.startswith("SolverElmerOutput")):
if is_of_type(m, "App::TextDocument") and (
m.Name.startswith("ccx_dat_file") or m.Name.startswith("SolverElmerOutput")
):
analysis.Document.removeObject(m.Name)
analysis.Document.recompute()

Expand Down

0 comments on commit f8cec61

Please sign in to comment.