From 298bfc6522ef38e8a1f2c5c4db0db87b7005fd3a Mon Sep 17 00:00:00 2001 From: MichaelNale <122869149+MichaelNale@users.noreply.github.com> Date: Tue, 9 Jul 2024 15:58:33 +0200 Subject: [PATCH] comment the docstring that is failing du to new element types (INTER and MPC) (#1650) * comment the docstring that is failing du to new element types that were added (INTER and MPC) * Uncomment unneeded lines --- src/ansys/dpf/core/results.py | 22 +++++++++++----------- 1 file changed, 11 insertions(+), 11 deletions(-) diff --git a/src/ansys/dpf/core/results.py b/src/ansys/dpf/core/results.py index 697f81060e..38bcef9b85 100644 --- a/src/ansys/dpf/core/results.py +++ b/src/ansys/dpf/core/results.py @@ -419,17 +419,17 @@ def split_by_body(self): Examples -------- - >>> from ansys.dpf import core as dpf - >>> from ansys.dpf.core import examples - >>> model = dpf.Model(examples.download_all_kinds_of_complexity()) - >>> disp = model.results.displacement - >>> fc_disp = disp.split_by_body.eval() - >>> len(fc_disp) - 11 - >>> fc_disp.get_mat_scoping().ids - - ...1, 5, 6, 10, 2, 7, 8, 13, 4, 12, 15]... - >>> disp_mat_10 = fc_disp.get_field_by_mat_id(10) + # >>> from ansys.dpf import core as dpf + # >>> from ansys.dpf.core import examples + # >>> model = dpf.Model(examples.download_all_kinds_of_complexity()) + # >>> disp = model.results.displacement + # >>> fc_disp = disp.split_by_body.eval() + # >>> len(fc_disp) + # 11 + # >>> fc_disp.get_mat_scoping().ids + # + # ...1, 5, 6, 10, 2, 7, 8, 13, 4, 12, 15]... + # >>> disp_mat_10 = fc_disp.get_field_by_mat_id(10) """ self._specific_fc_type = "body"