Skip to content

Commit

Permalink
DOC: fix examples temprdir usage
Browse files Browse the repository at this point in the history
  • Loading branch information
SMoraisAnsys committed Feb 20, 2024
1 parent fa07ab5 commit f337d3f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion examples/00-EDB/03_5G_antenna_example_parametrics.py
Original file line number Diff line number Diff line change
Expand Up @@ -372,7 +372,7 @@ def points(self):
# :func:`pyaedt.Desktop.release_desktop` method.
# All methods provide for saving the project before closing AEDT.

h3d.save_project(os.path.join(temp_dir, "test_layout.aedt"))
h3d.save_project(os.path.join(temp_dir.name, "test_layout.aedt"))
h3d.release_desktop()

# ### Clean up the temporary directory
Expand Down
2 changes: 1 addition & 1 deletion examples/00-EDB/10_GDS_workflow.py
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@
c_file_in = os.path.join(local_path, control_fn)
c_map = os.path.join(local_path, layer_map)
gds_in = os.path.join(local_path, gds_fn)
gds_out = os.path.join(temp_dir, "gds_out.gds")
gds_out = os.path.join(temp_dir.name, "gds_out.gds")
shutil.copy2(gds_in, gds_out)
# -

Expand Down

0 comments on commit f337d3f

Please sign in to comment.