Skip to content

Commit

Permalink
[pre-commit.ci] auto fixes from pre-commit.com hooks
Browse files Browse the repository at this point in the history
for more information, see https://pre-commit.ci
  • Loading branch information
pre-commit-ci[bot] committed Jun 25, 2024
1 parent 69ba7e7 commit 9fc52fe
Showing 1 changed file with 12 additions and 7 deletions.
19 changes: 12 additions & 7 deletions pyaedt/maxwell.py
Original file line number Diff line number Diff line change
Expand Up @@ -1718,9 +1718,9 @@ def enable_harmonic_force(
output_frequency_range_type="Use All",
output_frequency_range_start="0Hz",
number_of_output_frequencies=10,
output_frequency_range_stop = "1000Hz",
output_frequency_range_stop="1000Hz",
calculate_force="Harmonic",
enable_inverter_feedback=False
enable_inverter_feedback=False,
):
"""Enable the harmonic force calculation for the transient analysis.
Expand Down Expand Up @@ -1796,11 +1796,16 @@ def enable_harmonic_force(
stop_time,
"OutputFreqRangeType:=",
output_frequency_range_type,
"OutputFreqRangeStart:=", output_frequency_range_start,
"OutputFreqRangeNum:=", str(number_of_output_frequencies),
"OutputFreqRangeStop:=", output_frequency_range_stop,
"CaculateForceType:=", calculate_force + " Force",
"EnableInverterFeedback:=", enable_inverter_feedback
"OutputFreqRangeStart:=",
output_frequency_range_start,
"OutputFreqRangeNum:=",

Check warning on line 1801 in pyaedt/maxwell.py

View check run for this annotation

Codecov / codecov/patch

pyaedt/maxwell.py#L1798-L1801

Added lines #L1798 - L1801 were not covered by tests
str(number_of_output_frequencies),
"OutputFreqRangeStop:=",
output_frequency_range_stop,
"CaculateForceType:=",
calculate_force + " Force",
"EnableInverterFeedback:=",
enable_inverter_feedback,
]
)
return True
Expand Down

0 comments on commit 9fc52fe

Please sign in to comment.