File tree Expand file tree Collapse file tree 1 file changed +13
-7
lines changed
Expand file tree Collapse file tree 1 file changed +13
-7
lines changed Original file line number Diff line number Diff line change 1111core .set_default_server_context (core .AvailableServerContexts .premium )
1212core .start_local_server (config = core .AvailableServerConfigs .LegacyGrpcServer )
1313
14+ ignore_files = [
15+ "operator.mustache" ,
16+ "build.py" ,
17+ "specification.py" ,
18+ "translator.py" ,
19+ # Deprecated operator scripting names
20+ "gasket_deformation.py" ,
21+ "gasket_deformation_X.py" ,
22+ "gasket_deformation_XY.py" ,
23+ "gasket_deformation_XZ.py" ,
24+ ]
25+
1426local_dir = Path (__file__ ).parent
1527TARGET_PATH = local_dir .parent / "src" / "ansys" / "dpf" / "core" / "operators"
1628files = TARGET_PATH .glob ("*" )
1729for file_path in files :
18- if file_path .stem == "specification" :
19- continue
20- if file_path .stem == "translator" :
21- continue
22- if file_path .name == "build.py" :
23- continue
24- if file_path .name == "operator.mustache" :
30+ if file_path .name in ignore_files :
2531 continue
2632 try :
2733 if file_path .is_dir ():
You can’t perform that action at this time.
0 commit comments