Closed celiasmith closed 10 years ago
With this code, if you select and delete the 2nd two populations, you get an index out of range in swi.py
import nengo model = nengo.Network() with model: a = nengo.Ensemble(n_neurons=80, dimensions=2, label="testasdfasdfasdfasfd") a = nengo.Ensemble(n_neurons=80, dimensions=2, label="testasdfasdfasdfasfd") a = nengo.Ensemble(n_neurons=80, dimensions=2, label="testasdfasdfasdfasfd") import nengo_gui gui = nengo_gui.Config() gui[model].scale = 5.30717386019144 gui[model].offset = 653.9151260548805,469.2655704599018 gui[model.ensembles[0]].pos = -53.214, -61.750 gui[model.ensembles[0]].scale = 1.000 gui[model.ensembles[1]].pos = -55.984, 21.250 gui[model.ensembles[1]].scale = 1.000 gui[a].pos = 0.000, 0.000 gui[a].scale = 1.000
Cute... yup, I can see what the problem is there, and I'm pretty sure I know how to fix it...
With this code, if you select and delete the 2nd two populations, you get an index out of range in swi.py