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 4ca42c2 commit 7fba1a5Copy full SHA for 7fba1a5
src/ansys/dpf/core/operators/build.py
@@ -252,8 +252,9 @@ def build_operators():
252
category_operators = os.listdir(os.path.join(this_path, category.split(".")[0]))
253
with open(os.path.join(this_path, category, "__init__.py"), "wb") as category_init:
254
for category_operator in category_operators:
255
+ operator_name = category_operator.split(".")[0]
256
category_init.write(
- f"from .{category_operator} import {category_operator}\n".encode()
257
+ f"from .{operator_name} import {operator_name}\n".encode()
258
)
259
260
if succeeded == len(available_operators) - hidden:
0 commit comments