Skip to content

Commit df6b2a9

Browse files
committed
remove unused function
1 parent 9e12930 commit df6b2a9

File tree

1 file changed

+0
-14
lines changed

1 file changed

+0
-14
lines changed

src/ansys/systemcoupling/core/adaptor/impl/injected_commands.py

Lines changed: 0 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -242,20 +242,6 @@ def _create_plot_spec(
242242
return spec
243243

244244

245-
def _get_interface_name(
246-
session: SessionProtocol, interface_name: str | None = None
247-
) -> str:
248-
if interface_name is None:
249-
setup = session.setup
250-
interfaces = setup.coupling_interface.get_object_names()
251-
if len(interfaces) == 0:
252-
return
253-
if len(interfaces) > 1:
254-
raise RuntimeError("plots currently only support a single interface.")
255-
interface_name = interfaces[0]
256-
return interface_name
257-
258-
259245
def _get_interface_and_transfer_names(
260246
session: SessionProtocol, arg_dict: Dict[str, Any]
261247
) -> dict[str, list]:

0 commit comments

Comments
 (0)