SiEPIC-Tools icon indicating copy to clipboard operation
SiEPIC-Tools copied to clipboard

toolbar: INTC simulation, stuck on one device

Open lukasc-ubc opened this issue 7 years ago • 0 comments

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.

lukasc-ubc avatar Feb 15 '18 09:02 lukasc-ubc