Skip to content

Commit ece7af5

Browse files
committed
fix linter
1 parent c5c9602 commit ece7af5

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

simphony/plugins/lumerical.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,7 @@ def datablock(self, ports, shape, values):
9191
columns = sweepparams + ["freq", "mag", "phase"]
9292
df = pd.DataFrame(values, columns=columns)
9393
rows, cols = shape
94-
if ports["groupdelay"] != None:
94+
if ports["groupdelay"] is not None:
9595
# Calculated with 2 * pi * groupdelay * (f_i - f_c)
9696
# Possible improvement: If you resample this with fine spectral sampling on large structures, you may lose some precision. See https://optics.ansys.com/hc/en-us/articles/360036618553-Group-Delay-Specification-in-S-Parameter-Elements
9797
groupshift = (

0 commit comments

Comments
 (0)