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 (#1849)

Signed-off-by: paul.profizi <[email protected]>
  • Loading branch information
PProfizi authored Nov 4, 2024
1 parent 39d25c8 commit 535c7b6
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 535c7b6

Please sign in to comment.