Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 10 additions & 4 deletions src/ansys/dpf/core/operators/metadata/cyclic_support_provider.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
from __future__ import annotations

from warnings import warn
from ansys.dpf.core.core import errors
from ansys.dpf.core.dpf_operator import Operator
from ansys.dpf.core.inputs import Input, _Inputs
from ansys.dpf.core.outputs import Output, _Outputs
Expand Down Expand Up @@ -85,10 +86,15 @@ def __init__(
super().__init__(
name="support_provider_cyclic", config=config, server=server
)
except KeyError as e:
super().__init__(
name="mapdl::rst::support_provider_cyclic", config=config, server=server
)
except (KeyError, errors.DPFServerException) as e:
if "doesn't exist in the registry" in str(e):
super().__init__(
name="mapdl::rst::support_provider_cyclic",
config=config,
server=server,
)
else:
raise e
self._inputs = InputsCyclicSupportProvider(self)
self._outputs = OutputsCyclicSupportProvider(self)
if streams_container is not None:
Expand Down
Loading