We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2ae4b08 commit 510f6baCopy full SHA for 510f6ba
src/ansys/dpf/core/available_result.py
@@ -30,8 +30,8 @@
30
from typing import List
31
from warnings import warn
32
33
-from ansys.dpf.core.common import _make_as_function_name, _remove_spaces, natures
34
import ansys.dpf.core as dpf
+from ansys.dpf.core.common import _make_as_function_name, _remove_spaces, natures
35
36
37
@unique
@@ -219,7 +219,7 @@ def homogeneity(self):
219
op = dpf.Operator("homogeneity_name")
220
op.connect(0, self._homogeneity)
221
return op.get_output(0, dpf.types.string)
222
- except dpf.errors.DPFServerException:
+ except (dpf.errors.KeyError, dpf.errors.DPFServerException):
223
try:
224
return Homogeneity(self._homogeneity).name
225
except ValueError as exception:
0 commit comments