Skip to content

Commit 1ce2bc7

Browse files
authored
ci(operators): minor updates to generate_operators_doc.py (#2540)
1 parent 2696c85 commit 1ce2bc7

File tree

1 file changed

+8
-3
lines changed

1 file changed

+8
-3
lines changed

.ci/generate_operators_doc.py

Lines changed: 8 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -20,15 +20,20 @@ def initialize_server(ansys_path=None, include_composites=False, include_sound=F
2020
if include_composites:
2121
print("Loading Composites Plugin")
2222
load_library(
23-
Path(server.ansys_path)
23+
filename=Path(server.ansys_path)
2424
/ "dpf"
2525
/ "plugins"
2626
/ "dpf_composites"
27-
/ "composite_operators.dll"
27+
/ "composite_operators.dll",
28+
name="composites",
2829
)
2930
if include_sound:
3031
print("Loading Acoustics Plugin")
31-
load_library(Path(server.ansys_path) / "Acoustics" / "SAS" / "ads" / "dpf_sound.dll")
32+
load_library(
33+
filename=Path(server.ansys_path) / "Acoustics" / "SAS" / "ads" / "dpf_sound.dll",
34+
name="sound",
35+
)
36+
print(f"Loaded plugins: {list(server.plugins.keys())}")
3237
return server
3338

3439

0 commit comments

Comments
 (0)