Skip to content

Commit

Permalink
Remove toolkit manager env
Browse files Browse the repository at this point in the history
  • Loading branch information
Samuelopez-ansys committed Apr 30, 2024
1 parent 2d6e830 commit dcb6826
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
4 changes: 1 addition & 3 deletions pyaedt/workflows/customize_automation_tab.py
Original file line number Diff line number Diff line change
Expand Up @@ -264,9 +264,7 @@ def add_script_to_menu(
build_file_data = build_file_data.replace("##IPYTHON_EXE##", ipython_executable)
build_file_data = build_file_data.replace("##PYTHON_EXE##", executable_version_agnostic)
build_file_data = build_file_data.replace("##JUPYTER_EXE##", jupyter_executable)
build_file_data = build_file_data.replace(
"##TOOLKIT_MANAGER_SCRIPT##", os.path.join(lib_dir, "project/toolkit_manager.py")
)

if not version_agnostic:
build_file_data = build_file_data.replace(" % version", "")
out_file.write(build_file_data)
Expand Down
2 changes: 1 addition & 1 deletion pyaedt/workflows/templates/Run_Toolkit_Manager.py_build
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ def main():
try:
# launch toolkit manager
python_exe = r"##PYTHON_EXE##" % version
pyaedt_script = r"##TOOLKIT_MANAGER_SCRIPT##"
pyaedt_script = os.path.join(pyaedt_toolkit_dir, "toolkit_manager.py")
check_file(python_exe)
check_file(pyaedt_script)
os.environ["PYAEDT_SCRIPT_PROCESS_ID"] = str(oDesktop.GetProcessID())
Expand Down

0 comments on commit dcb6826

Please sign in to comment.