File tree Expand file tree Collapse file tree 1 file changed +10
-4
lines changed
src/ansys/dpf/core/operators/metadata Expand file tree Collapse file tree 1 file changed +10
-4
lines changed Original file line number Diff line number Diff line change 77from __future__ import annotations
88
99from warnings import warn
10+ from ansys .dpf .core .core import errors
1011from ansys .dpf .core .dpf_operator import Operator
1112from ansys .dpf .core .inputs import Input , _Inputs
1213from ansys .dpf .core .outputs import Output , _Outputs
@@ -85,10 +86,15 @@ def __init__(
8586 super ().__init__ (
8687 name = "support_provider_cyclic" , config = config , server = server
8788 )
88- except KeyError as e :
89- super ().__init__ (
90- name = "mapdl::rst::support_provider_cyclic" , config = config , server = server
91- )
89+ except (KeyError , errors .DPFServerException ) as e :
90+ if "doesn't exist in the registry" in str (e ):
91+ super ().__init__ (
92+ name = "mapdl::rst::support_provider_cyclic" ,
93+ config = config ,
94+ server = server ,
95+ )
96+ else :
97+ raise e
9298 self ._inputs = InputsCyclicSupportProvider (self )
9399 self ._outputs = OutputsCyclicSupportProvider (self )
94100 if streams_container is not None :
You can’t perform that action at this time.
0 commit comments