Skip to content

Commit

Permalink
Update pyaedt/modeler/circuits/PrimitivesEmit.py
Browse files Browse the repository at this point in the history
  • Loading branch information
Samuelopez-ansys authored Nov 24, 2023
1 parent 1964d24 commit 7942f0e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pyaedt/modeler/circuits/PrimitivesEmit.py
Original file line number Diff line number Diff line change
Expand Up @@ -828,7 +828,7 @@ def set_band_stop_frequency(self, band_node, band_stop_freq, units=""):
if float(band_node.props["StartFrequency"]) > freq_float_in_Hz: # pragma: no cover
if freq_float_in_Hz > 1:
band_node._set_prop_value({"StartFrequency": str(freq_float_in_Hz - 1)})
else:
else: # pragma: no cover
raise ValueError("Band stop frequency is less than start frequency.")
freq_string = "{}".format(freq_float_in_Hz)
prop_list = {"StopFrequency": freq_string}
Expand Down

0 comments on commit 7942f0e

Please sign in to comment.