SiEPIC-Tools
SiEPIC-Tools copied to clipboard
toolbar: INTC simulation, stuck on one device
The first time selecting an opt_in text label via the mouse, and running a simulation from the toolbar, works.
But when you select a different one, then click on the toolbar, the previous circuit is simulated.
It seems like "opt_in_selection_text" is not [], but rather keeps the previous value, in the SiEPIC.lumerical.interconnect.circuit_simulation() function. It looks like ACTIONS gets this variable and keeps it.
When calling from the regular menu, where we set opt_in_selection_text=[] in the function call, it works fine.