Skip to content

Commit 38ca5e2

Browse files
Remove circular
1 parent 1a86863 commit 38ca5e2

File tree

1 file changed

+0
-7
lines changed

1 file changed

+0
-7
lines changed

tidy3d/web/api/tidy3d_stub.py

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,6 @@
2626
from tidy3d.components.tcad.simulation.heat import HeatSimulation
2727
from tidy3d.components.tcad.simulation.heat_charge import HeatChargeSimulation
2828
from tidy3d.plugins.mode.mode_solver import ModeSolver
29-
from tidy3d.plugins.smatrix import TerminalComponentModeler
3029
from tidy3d.web.core.file_util import (
3130
read_simulation_from_hdf5,
3231
read_simulation_from_hdf5_gz,
@@ -43,7 +42,6 @@
4342
ModeSolver,
4443
ModeSimulation,
4544
VolumeMesher,
46-
TerminalComponentModeler,
4745
]
4846
SimulationDataType = Union[
4947
SimulationData,
@@ -102,9 +100,6 @@ def from_file(cls, file_path: str) -> SimulationType:
102100
sim = ModeSimulation.from_file(file_path)
103101
elif type_ == "VolumeMesher":
104102
sim = VolumeMesher.from_file(file_path)
105-
elif type_ == "TerminalComponentModeler":
106-
# TODO Remove: An aberration this is here, but alas necessity.
107-
sim = TerminalComponentModeler.from_file(file_path)
108103

109104
return sim
110105

@@ -167,8 +162,6 @@ def get_type(self) -> str:
167162
return TaskType.MODE.name
168163
elif isinstance(self.simulation, VolumeMesher):
169164
return TaskType.VOLUME_MESH.name
170-
if isinstance(self.simulation, TerminalComponentModeler):
171-
return TaskType.TERMINAL_COMPONENT_MODELER.name
172165

173166
def validate_pre_upload(self, source_required) -> None:
174167
"""Perform some pre-checks on instances of component"""

0 commit comments

Comments
 (0)