Skip to content

Commit

Permalink
Fix retro-compatibility for example 13-nodes_in_local_coordinate_syst…
Browse files Browse the repository at this point in the history
…em.py

Signed-off-by: paul.profizi <paul.profizi@ansys.com>
  • Loading branch information
PProfizi committed Nov 4, 2024
1 parent c37f6a3 commit df19c5a
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,7 @@
# Import necessary modules
from ansys.dpf import core as dpf
from ansys.dpf.core import examples
from ansys.dpf.gate.errors import DPFServerException


###############################################################################
Expand All @@ -59,7 +60,7 @@
# Starting with DPF 2025.1.pre1
cs = dpf.operators.result.coordinate_system()
cs.inputs.data_sources.connect(model)
except (KeyError, ansys.dpf.gate.errors.DPFServerException) as e:
except (KeyError, DPFServerException) as e:
# For previous DPF versions
cs = model.operator(r"mapdl::rst::CS")

Expand Down

0 comments on commit df19c5a

Please sign in to comment.