Skip to content

Commit

Permalink
Correct message handling in solve_sweeps.py
Browse files Browse the repository at this point in the history
  • Loading branch information
Devin-Crawford committed Feb 7, 2025
1 parent 8857b69 commit e3280a7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/ansys/aedt/core/modules/solve_sweeps.py
Original file line number Diff line number Diff line change
Expand Up @@ -128,7 +128,7 @@ def __init__(self, setup, name, sweep_type="Interpolating", props=None):
self.props[key] = value

Check warning on line 128 in src/ansys/aedt/core/modules/solve_sweeps.py

View check run for this annotation

Codecov / codecov/patch

src/ansys/aedt/core/modules/solve_sweeps.py#L125-L128

Added lines #L125 - L128 were not covered by tests
else:
error_message = f"Parameter '{key}' is invalid and will be ignored."
self._app.logger.warning(error_message)
self._app.p_app.logger.warning(error_message)

Check warning on line 131 in src/ansys/aedt/core/modules/solve_sweeps.py

View check run for this annotation

Codecov / codecov/patch

src/ansys/aedt/core/modules/solve_sweeps.py#L130-L131

Added lines #L130 - L131 were not covered by tests

# for t in SweepHfss3D:
# _tuple2dict(t, self.props)
Expand Down

0 comments on commit e3280a7

Please sign in to comment.