File tree Expand file tree Collapse file tree 2 files changed +11
-10
lines changed Expand file tree Collapse file tree 2 files changed +11
-10
lines changed Original file line number Diff line number Diff line change 12
12
SolidMedium ,
13
13
SolidSpec ,
14
14
)
15
- from tidy3d .components .microwave .auto_path_spec import (
16
- AutoPathSpec ,
17
- )
18
15
from tidy3d .components .microwave .data .monitor_data import (
19
16
AntennaMetricsData ,
20
17
)
@@ -701,7 +698,6 @@ def set_logging_level(level: str) -> None:
701
698
"IsothermalSteadyChargeDCAnalysis" ,
702
699
"ChargeToleranceSpec" ,
703
700
"AntennaMetricsData" ,
704
- "AutoPathSpec" ,
705
701
"AxisAlignedPathSpec" ,
706
702
"CompositePathSpec" ,
707
703
"PathSpec" ,
Original file line number Diff line number Diff line change @@ -4132,22 +4132,27 @@ def _validate_terminal_specs(self) -> None:
4132
4132
try :
4133
4133
v_spec = term_spec .voltage_spec
4134
4134
i_spec = term_spec .current_spec
4135
- if term_spec . v_spec is None and term_spec . i_spec is None :
4135
+ if v_spec is None and i_spec is None :
4136
4136
i_spec , _ = AutoPathSpec .create_current_path_specs (
4137
- monitor .bounding_box , self .structures , self .grid , monitor .colocate
4137
+ monitor .bounding_box ,
4138
+ self .structures ,
4139
+ self .grid ,
4140
+ self .symmetry ,
4141
+ self .bounding_box ,
4142
+ monitor .colocate ,
4138
4143
)
4139
4144
except ValidationError as e :
4140
4145
raise SetupError (
4141
- f"Failed to setup automatic impedance calculation for monitor '{ monitor .name } ': { e } "
4142
- )
4146
+ f"Failed to setup automatic impedance calculation for monitor '{ monitor .name } '. "
4147
+ ) from e
4143
4148
4144
4149
try :
4145
4150
_ = make_voltage_integral (v_spec )
4146
4151
_ = make_current_integral (i_spec )
4147
4152
except Exception as e :
4148
4153
raise SetupError (
4149
- f"Failed to construct path integrals from the terminal specification for monitor '{ monitor .name } ': { e } "
4150
- )
4154
+ f"Failed to construct path integrals from the terminal specification for monitor '{ monitor .name } '. "
4155
+ ) from e
4151
4156
4152
4157
@cached_property
4153
4158
def monitors_data_size (self ) -> Dict [str , float ]:
You can’t perform that action at this time.
0 commit comments