Closed studywolf closed 10 years ago
if you use the label='stuff'
instead to change names, it won't care. but yes, you're making new objects and it's not obvious why that should be the 'same' object when you keep changing it.
i see, i was confused because it seemed like changing the name in the script was the way to rename objects in the viewer, rather than using a label. Could we add labels to the default script?
On Wed, Jun 4, 2014 at 2:22 PM, Chris Eliasmith notifications@github.com wrote:
if you use the label='stuff' instead to change names, it won't care. but yes, you're making new objects and it's not obvious why that should be the 'same' object when you keep changing it.
— Reply to this email directly or view it on GitHub https://github.com/ctn-waterloo/nengo_gui/issues/73#issuecomment-45129873 .
Yup, adding some labels to the default script seems like a good idea... they used to be there, in fact.... :)
Actually, i'm wondering if we should not do 'magic' labels using the variables (like we do with networks) to avoid this confusion. Then nodes and ensembles are also only labeled using a 'label'... @tcstewar?
I'd be happy with that, although I'd want the default label to be '' rather than 'Node' and 'Ensemble'.....
Yes, exactly what i was thinking...
I agree this would help clear things up.
On Wed, Jun 4, 2014 at 2:58 PM, Chris Eliasmith notifications@github.com wrote:
Yes, exactly what i was thinking...
— Reply to this email directly or view it on GitHub https://github.com/ctn-waterloo/nengo_gui/issues/73#issuecomment-45135863 .
When I start up with the default script if I rename
b
toa
and then back and forth or to other things a few times its location on the screen jumps around, sometimes off screen, throwing off the layout. It would be nice to have it stay in the same place. I can understand how this would be a difficult problem, though!