Skip to content

Commit 52b5610

Browse files
Update src/ansys/aedt/core/application/design.py
Co-authored-by: Sébastien Morais <146729917+SMoraisAnsys@users.noreply.github.com>
1 parent 81056ce commit 52b5610

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

src/ansys/aedt/core/application/design.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2887,8 +2887,7 @@ def import_dataset1d(
28872887
name, xlist, ylist, is_project_dataset=is_project_dataset, x_unit=units[0], y_unit=units[1], sort=sort
28882888
)
28892889
else:
2890-
error_message = f"Input file '{in_file}' does not exist."
2891-
raise FileNotFoundError(error_message)
2890+
raise FileNotFoundError(f"Input file '{in_file}' does not exist.")
28922891

28932892
@pyaedt_function_handler()
28942893
def import_dataset3d(

0 commit comments

Comments
 (0)