Skip to content

Commit e28a672

Browse files
committed
FIX: Remove deprecated frequencies attribute to fix unit tests
1 parent ff41a53 commit e28a672

File tree

1 file changed

+0
-5
lines changed

1 file changed

+0
-5
lines changed

src/ansys/edb/core/simulation_setup/simulation_setup.py

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -159,8 +159,6 @@ class SweepData:
159159
Auto/Manual SMatrix only solve.
160160
min_freq_s_mat_only_solve : str
161161
Minimum frequency SMatrix only solve.
162-
frequencies : list[str]
163-
Frequency points in the frequency sweep.
164162
steady_state_start : float
165163
Frequency of Steady State Start.
166164
mesh_freq_choice : int
@@ -225,7 +223,6 @@ def __init__(self, name, distribution, start_f, end_f, step):
225223
self.parallel_hfss_regions_sim_cfg = []
226224
self.auto_s_mat_only_solve = True
227225
self.min_freq_s_mat_only_solve = "1MHz"
228-
self.frequencies = []
229226
self.steady_state_start = -1.0
230227
self.mesh_freq_choice = -1
231228
self.mesh_freq_points = []
@@ -290,7 +287,6 @@ def _sweep_data_msg(sweep_data):
290287
),
291288
auto_s_mat_only_solve=sweep_data.auto_s_mat_only_solve,
292289
min_freq_s_mat_only_solve=sweep_data.min_freq_s_mat_only_solve,
293-
frequencies=sweep_data.frequencies,
294290
steady_state_start=sweep_data.steady_state_start,
295291
mesh_freq_choice=sweep_data.mesh_freq_choice,
296292
mesh_freq_points=sweep_data.mesh_freq_points,
@@ -355,7 +351,6 @@ def _msg_to_sweep_data(msg):
355351
)
356352
sweep_data.auto_s_mat_only_solve = msg.auto_s_mat_only_solve
357353
sweep_data.min_freq_s_mat_only_solve = msg.min_freq_s_mat_only_solve
358-
sweep_data.frequencies = msg.frequencies
359354
sweep_data.steady_state_start = msg.steady_state_start
360355
sweep_data.mesh_freq_choice = msg.mesh_freq_choice
361356
sweep_data.mesh_freq_points = msg.mesh_freq_points

0 commit comments

Comments
 (0)