Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

FIX: typo in output_dir argument of method hfss\validate_full_design #5321

Merged
merged 1 commit into from
Oct 22, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 6 additions & 6 deletions src/ansys/aedt/core/hfss.py
Original file line number Diff line number Diff line change
Expand Up @@ -4232,8 +4232,8 @@ def thicken_port_sheets(self, assignment, value, extrude_internally=True, intern
self.logger.info("done")
return ports_ID

@pyaedt_function_handler(dname="design", ouputdir="ouput_dir")
def validate_full_design(self, design=None, ouput_dir=None, ports=None):
@pyaedt_function_handler(dname="design", outputdir="output_dir")
def validate_full_design(self, design=None, output_dir=None, ports=None):
"""Validate a design based on an expected value and save information to the log file.


Expand All @@ -4242,7 +4242,7 @@ def validate_full_design(self, design=None, ouput_dir=None, ports=None):
design : str, optional
Name of the design to validate. The default is ``None``, in which case
the current design is used.
ouput_dir : str, optional
output_dir : str, optional
Directory to save the log file to. The default is ``None``,
in which case the current project path is used.
ports : int, optional
Expand Down Expand Up @@ -4277,10 +4277,10 @@ def validate_full_design(self, design=None, ouput_dir=None, ports=None):
val_list = []
if not design:
design = self.design_name
if not ouput_dir:
ouput_dir = self.working_directory
if not output_dir:
output_dir = self.working_directory
pname = self.project_name
validation_log_file = os.path.join(ouput_dir, pname + "_" + design + "_validation.log")
validation_log_file = os.path.join(output_dir, pname + "_" + design + "_validation.log")

# Desktop Messages
msg = "Desktop messages:"
Expand Down
Loading